DiamondLightSource / DiamondLightSource/dodal
Add module-scope for fixtures
Open
tests
- Dominant language
- Python
- Stars
- 5
- Forks
- 13
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 10
Description
This prevents tests crashing into one another,
fixture is recreated for every different test file (module) that imports it.
[relevant pytest docs link](https://docs.pytest.org/en/7.1.x/how-to/fixtures.html#scope-sharing-fixtures-across-classes-modules-packages-or-session)
Contributor guide
Assessment
This issue has not been assessed yet.