[openstack-dev] [swift] migrate swift test code from unittest to testtools

Tzu Lao coding1314 at gmail.com
Wed Jun 24 08:14:57 UTC 2015

Hi All,

I try to contribute code to openstack.

I made a patch to migrate swift test code from unittest to testtools.

And I found that my patch often break if other patch change the test code.

For example, the testtools requires that the subclass of the testcase
should call super.setup and super.teardown if you override setup and

So if the test code of other patch forget to call super.setup or
supe.teardown, my patch will failed.

Are there good ideas to avoid the issues?

By the way, are there any suggestion for my patch?


Kuo-tung Kao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150624/2a35c640/attachment.html>

More information about the OpenStack-dev mailing list