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
First approach to enforcing setting 'indirect' on dependent fixtures
This is a try to solve pytest-dev#5712 using following logic:
(1) If there exists a fixture F which uses say parameter A
(2) And there exist a test T in which parameter named A is present
in pytest.mark.parametrize() arglist
(3) Then A should be marked explicitly as indirect (via indirect=True or indirect=['A',...])
And if it isn't, we raise ValueError
TODO: as of now, ValueError occurs during collection phase. Maybe we
want it to appear during test phase?
0 commit comments