[TIP] unittest2 expectedFailure
lists at whitehouse.kiwi.nz
Sat Aug 1 03:57:23 PDT 2015
Thanks again for such a prompt reply, Florian!
On 01/08/15 11:06, Florian Bruhin wrote:
> Is that actually the code you're running? I don't see a class inheriting from unittest.TestCase
here, so unittest doesn't find and tests here for me (as it requires
tests to be in classes).
You've indirectly helped me solve it! I did have this within a class,
but it was inheriting from a module that wasn't importing unittest2.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python