pytest-factoryboy icon indicating copy to clipboard operation
pytest-factoryboy copied to clipboard

How can I pass function-scope fixtures (e.g. db sessions) to each Factory in combination with pytest-asyncio?

Open rinarakaki opened this issue 2 years ago • 0 comments

I want each factory instance to have access to pytest-function scoped (global) fixtures such as db session but have no means to inject hooks to pytest fixtures at each factory's instantiation.

rinarakaki avatar Sep 27 '23 11:09 rinarakaki