Skip to content

Conversation

@Tishka17
Copy link
Member

#124

TODO:

  • pytest-asyncio

return pytest.fixture(temp_fixture)


def inject(func):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be possible to declare a own inject with a different fixture name as container name to enable different usages of dishka at the same time

i suspect pytest-asyncio is able to run on a async fixture, verification needed

@RonnyPfannschmidt
Copy link

i am under the impression there is a need to map pytest scopes to diska scopes and providing a way to use scoped fixtures as inputs for dishka scopes

that kind of integration will necessarily be more tricky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants