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
The following test shows a case which is not currently supported: foo is parametrized, and used indirectly through bar, which is also overwritten closer to the test:
The current fixture parametrization mechanism implemented in FixtureManager doesn't follow the fixture dependencies to apply fixture parametrization, it only looks at the argument names of the function explicitly (those in Metafunc).
More investigation is needed.
Workaround
A workaround is to re-specify the dependency to foo in bar.
This issue is split from #1953.
The following test shows a case which is not currently supported:
foo
is parametrized, and used indirectly throughbar
, which is also overwritten closer to the test:The current fixture parametrization mechanism implemented in
FixtureManager
doesn't follow the fixture dependencies to apply fixture parametrization, it only looks at the argument names of the function explicitly (those inMetafunc
).More investigation is needed.
Workaround
A workaround is to re-specify the dependency to
foo
inbar
.Thanks to @jmoldow for the original report.
The text was updated successfully, but these errors were encountered: