[openstack-dev] Testtools usage?

Joshua Harlow harlowja at yahoo-inc.com
Thu Jan 24 21:17:06 UTC 2013

Hi all,

Just was investigating some odd test failures,


Looking at some of the other components code (keystone) it uses unittest2 to take the py2.7 backport and import it as 'unittest' (a confusing rename).


It seems like there is a move to testtools, but testtools.TestCase doesn't seem to derive from unittest2 (it uses unittest.TestCase) so this means that functions that previously existed before the switch to testtools won't exist in python 2.6, have other openstack sub-projects that have been moving to testtools fixed this, or perhaps there should be a upstream fix for testtools to attempt to derive its testcase class from unittest2?

Wondering how others py2.6 support hasn't been busted.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130124/8e74b264/attachment.html>

More information about the OpenStack-dev mailing list