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

Add faker and faker_seed fixtures support #261

Merged
merged 5 commits into from
May 27, 2020
Merged

Add faker and faker_seed fixtures support #261

merged 5 commits into from
May 27, 2020

Conversation

romainletendart
Copy link
Contributor

Faker offers both faker and faker_seed fixtures.
The problem is that using only the faker fixture simply ignores pytest-randomly's seed.
The documented way of seeding the faker fixture mentions using faker_seed.
This PR is a proposal to make pytest-randomly provide its seed to faker via faker_seed.

@adamchainz adamchainz merged commit 617c647 into pytest-dev:master May 27, 2020
@adamchainz
Copy link
Member

Merged and released in version 3.4.0, thanks!

Next time you make an open source contribution please check for the things I added/fixed - a changelog note, documentation changes, and passing the tests on CI.

@romainletendart
Copy link
Contributor Author

@adamchainz Thank you very much for your quick review, fixes and merge!
I will pay more attention next time to the points you've mentioned.
Cheers.

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.

None yet

2 participants