openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #01088
Re: How to deal with 'tangential' bugs?
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@xxxxxxxxxxxxxxxxxxx [openstack-bounces+tim.simpson=rackspace.com@xxxxxxxxxxxxxxxxxxx] on behalf of Clay Gerrard [clay.gerrard@xxxxxxxxxxxxx]
Sent: Monday, February 28, 2011 3:09 PM
To: Dan Prince; Justin Santa Barbara
Cc: openstack@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
Follow ups
References