[TIP] setup_method not called for generative tests
pere.martir4 at gmail.com
Fri Feb 25 07:49:45 PST 2011
I found that setup_method and teardown_method are not called for the tests
generated by pytest_generate_tests(). Therefore I have to manually call them
in each test method. I also found a post which supported this observation:
Is there any reason that this behavior is by design or it's a bug ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python