Disable pytest-services plugin in test to avoid worker_id conflict (#612)

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
Michał Górny
2020-12-15 13:07:13 +01:00
committed by GitHub
parent 0d2480f7e3
commit ad99d943de

View File

@@ -42,7 +42,9 @@ commands =
towncrier --version {posargs} --yes towncrier --version {posargs} --yes
[pytest] [pytest]
addopts = -ra # pytest-services also defines a worker_id fixture, disable
# it so they don't conflict with each other (#611).
addopts = -ra -p no:pytest-services
testpaths = testing testpaths = testing
[flake8] [flake8]