Hi,

First post on the list, please excuse me if I don't follow normal
guidelines for posting here...


I'm having an assert in my method_teardown, which gives rather
confusing results.

See attached short example (ugly)
Running py.test on this testclass, you will get an output similar to:

entrypoint: TestMyClass().testApa3 _________________________________________

    def teardown_method(self,method):
            if(salmon):
E                   assert 0
>                   assert 0

[/Users/phb/Documents/Development/radar/pytest/test_class.py:9]

I would have expected to get "testApa2" as the entrypoint.

Ideas?

Thanks
/Johan

Attachment: test_class.py
Description: Binary data

_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to