Pass argument from test case to fixture
The-Compiler opened this issue ยท 3 comments
The-Compiler commented
I can see this question coming up a lot ๐
Possible solutions include:
- Returning a helper object/function from the fixture
- Adding a marker on the test and reading that from the fixture
hackebrot commented
Sounds like a great article for pytest-tricks! ๐
Do you have time to write a something?
The-Compiler commented
Nope, sorry - too busy with university and other OSS stuff, and from what it looks like this isn't going to change anytime soon...
hackebrot commented
๐ข