<div dir="ltr">Hi All,<div><br></div><div>I try to <span style="font-size:14px">contribute code to openstack.</span><br></div><div><br></div><div><span style="font-size:14px">I made a patch to migrate swift test code from unittest to testtools.</span></div><div><span style="font-size:14px"><a href="https://review.openstack.org/#/c/192960/">https://review.openstack.org/#/c/192960/</a></span><br></div><div><br></div><div><span style="font-size:14px">And I found that my patch often break if other patch change the test code.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">For example, the testtools requires that the subclass of the testcase should call super.setup and super.teardown if you override setup and teardown.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">So if the test code of other patch forget to call super.setup or supe.teardown, my patch will failed.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">Are there good ideas to avoid the issues?</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">By the way, are there any suggestion for my patch?</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">Thanks.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">Kuo-tung Kao</span><br></div><div><span style="font-size:14px"><br></span></div></div>