Skip to content

Commit

Permalink
fix: typo faker_locale -> faker_seed in pytest-fixtures (#1351)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangbits authored Dec 24, 2020
1 parent d6117b2 commit 79df7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pytest-fixtures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ selection logic.

Like briefly mentioned above, defining an autouse session-scoped ``faker_seed`` fixture will affect
all relevant tests in the session, but if you want to use a certain seed for a specific set of tests
and just like ``faker_locale``, you will just need to define and activate a ``faker_locale`` fixture
and just like ``faker_locale``, you will just need to define and activate a ``faker_seed`` fixture
in the appropriate place in accordance to how ``pytest`` handles fixtures. For example, if you declare
this in a submodule's ``conftest.py``, the ``faker`` fixture will return an instance seeded using
``12345`` for all relevant tests under that submodule.
Expand Down

0 comments on commit 79df7b0

Please sign in to comment.