[openstack-dev] [Keystone] unit test coverage

Adam Young ayoung at redhat.com
Wed Dec 5 19:01:53 UTC 2012


On 12/05/2012 12:26 PM, Kevin L. Mitchell wrote:
> On Tue, 2012-12-04 at 22:10 -0500, Adam Young wrote:
>> keystone.identity.core           62%     No Big deal:  all the un
>> implemented functions.
> As a point of information, you can add "# Pragma: nocover" to lines to
> make them be skipped.
Can you do that for an entire file?  We have certain files that are just 
interface specifications, and we really don't expect the exceptions for 
unimplemented to ever be thrown, at least not in a unit test.



More information about the OpenStack-dev mailing list