Skip to content
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

plugin: make mh_fixture work with generators #72

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

pbrezina
Copy link
Contributor

@pbrezina pbrezina commented Sep 9, 2024

The following pytest fixture syntax is now supported.

@mh_fixture
def fixt(client: Client):
    setup()
    yield
    teardown()

The following pytest fixture syntax is now supported.

```
@mh_fixture
def fixt(client: Client):
    setup()
    yield
    teardown()
```
@justin-stephenson justin-stephenson self-assigned this Sep 9, 2024
@pbrezina pbrezina merged commit b191d8a into next-actions:master Sep 10, 2024
4 checks passed
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.

2 participants