Replies: 1 comment
-
The transformation of botched # # marks to parameter sets has been replaced bye pytest.param since ages, off hand im not sure when it was added and when the removal hit |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am moving our testing infrastructure from python 2.7 to python 3.6 (I know we are behind in versions, but this is what I have to work with) and am using pytest 7.0.1. In the older version of pytest that we used the test, when called, got the parameters that were passed as a dictionary. When using version 7.0.1 the parameters are now inside a pytest.mark. The code that sets up the parameters via pytest_generate_tests does the following:
So I understand why they are inside a pytest.mark, however it seems as if in the older version of pytest, the parameters i.e. the dictionary were removed from the mark and passed to my test, in the newer version I am getting the pytest.mark.
I have been going thru the documentation to see if there is something to tell me why this change occurred and what I can do to keep that behavior so that I don't have to change the 5000+ tests that may be affected.
Thanks for any help you can give.
Beta Was this translation helpful? Give feedback.
All reactions