From ad99d943de4b0f14511dad48ee148f6ab8abacd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 15 Dec 2020 13:07:13 +0100 Subject: [PATCH] Disable pytest-services plugin in test to avoid worker_id conflict (#612) Co-authored-by: Bruno Oliveira --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index af7aa4f..dfa7860 100644 --- a/tox.ini +++ b/tox.ini @@ -42,7 +42,9 @@ commands = towncrier --version {posargs} --yes [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 [flake8]