Skip to content

Commit

Permalink
fix pytest plugin registration documentation (#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
graingert and thedrow committed Oct 4, 2020
1 parent 8767df0 commit 7288147
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/userguide/testing.rst
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 7288147

Please sign in to comment.