[Openstack] How to deal with 'tangential' bugs?

Tim Simpson tim.simpson at rackspace.com
Mon Feb 28 21:57:08 UTC 2011


The Skip plugin for nose offers similar functionality which can be used in Python 2.6: 
http://somethingaboutorange.com/mrl/projects/nose/0.11.1/plugins/skip.html

Using this you can write decorators that raise SkipTest if a certain criteria isn't met.

________________________________________
From: openstack-bounces+tim.simpson=rackspace.com at lists.launchpad.net [openstack-bounces+tim.simpson=rackspace.com at lists.launchpad.net] on behalf of Clay Gerrard [clay.gerrard at rackspace.com]
Sent: Monday, February 28, 2011 3:09 PM
To: Dan Prince; Justin Santa Barbara
Cc: openstack at lists.launchpad.net
Subject: Re: [Openstack] How to deal with 'tangential' bugs?

Unittest2 lets you define a test case that is expected to fail:
http://docs.python.org/library/unittest.html#unittest.expectedFailure

new in 2.7, but it could be possible to backport - or do something similar...

May have issues with nose:
http://code.google.com/p/python-nose/issues/detail?id=325
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp




More information about the Openstack mailing list