You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported by: Felix Dreissig (noris network AG) (BitBucket: fdreissig, GitHub: fdreissig)
If a Python decorator is used with a 'test_*' function, py.test collects the testcases in the wrong order. This leads to strange behaviour if your expectation is that py.test always runs tests in the order the appear in the file.
From my expectations, decorated functions are put behind others in the test excecution order.
The affected deocrator came from [[http://www.voidspace.org.uk/python/mock/|Mock.py]], but that one tourned out to be an outdated version. I've been able to resolve the issue by upgrading Mock.
Therefore marking this as invalid now; sorry for the disruption but thanks for pointing me into the right direction!
Originally reported by: Felix Dreissig (noris network AG) (BitBucket: fdreissig, GitHub: fdreissig)
If a Python decorator is used with a 'test_*' function, py.test collects the testcases in the wrong order. This leads to strange behaviour if your expectation is that py.test always runs tests in the order the appear in the file.
From my expectations, decorated functions are put behind others in the test excecution order.
The text was updated successfully, but these errors were encountered: