Skip to content

Commit

Permalink
fix pytest plugin registration documentation (celery#6387)
Browse files Browse the repository at this point in the history
* fix pytest plugin registration documentation

* Update docs/userguide/testing.rst

Co-authored-by: Thomas Grainger <tagrain@gmail.com>

Co-authored-by: Omer Katz <omer.drow@gmail.com>
  • Loading branch information
2 people authored and jeyrce committed Aug 25, 2021
1 parent 7521898 commit 93732e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/userguide/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ Celery initially ships the plugin in a disabled state, to enable it you can eith

* `pip install celery[pytest]`
* `pip install pytest-celery`
* or add `pytest_plugins = 'celery.contrib.pytest'` to your pytest.ini
* or add an environment variable `PYTEST_PLUGINS=celery.contrib.pytest`
* or add `pytest_plugins = ("celery.contrib.pytest", )` to your root conftest.py


Marks
Expand Down

0 comments on commit 93732e1

Please sign in to comment.