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

fix(pytest): make fixture session scoped #2117

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

acolombier
Copy link
Contributor

What does this change

Fixes #2055

The issue suggest to bump the major version. I cannot find any instructions on this in the contribs guidelines so waiting for instruction here

What was wrong

The faker PyTest fixture is not scoped, so it cannot be used is a scoped fixture.

How this fixes it

This defines the scope of the fixture to be session scoped, as per the maximum scope possible

Checklist

  • I have read the documentation about CONTRIBUTING
  • I have read the documentation about Coding style
  • I have run make lint

Copy link
Collaborator

@fcurella fcurella left a comment

Choose a reason for hiding this comment

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

Thank you!

@fcurella fcurella merged commit 50d5260 into joke2k:master Nov 12, 2024
27 of 28 checks passed
fcurella added a commit that referenced this pull request Nov 14, 2024
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.

pytest faker fixture is not session-based
2 participants