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
I find that my parameters are not being passed correctly. Specifically, while having a fixture with indirect=True no params are being passed to the fixture and I get :
params = request.param
E AttributeError: 'SubRequest' object has no attribute 'param'
On the other hand if I invert the decorators order:
I am using nice_parametrize to keep my parameters together with their ids.
If I use
I find that my parameters are not being passed correctly. Specifically, while having a fixture with indirect=True no params are being passed to the fixture and I get :
On the other hand if I invert the decorators order:
Then everything works as expected
I would still like to use @pytest.mark.it closer to the function header for readability purposes so I am wondering if there is something I can do.
The text was updated successfully, but these errors were encountered: