-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixtures used lazily are not detected #39
Comments
@aaarrti if you see source of pytest-lazy-fixture, you can notice that it is getting the fixture value from the method |
So, I installed
Unfortunately I'm not aware of the internals neither of pytest nor of the plugin, but it looks to me like the problem is that |
Hi,
after I run
pytest --dead-fixtures
I get an output e.g.To double check if ii is so, I run
grep -r 'almost_uniform_1d' tests
and get
.
So, the fixtures are clearly used, but not detected, because of lazy loading.
This is the plugin I use for lazy loading https://github.com/TvoroG/pytest-lazy-fixture
The text was updated successfully, but these errors were encountered: