Skip to content

Commit ad99d94

Browse files
mgornynicoddemus
andauthored
Disable pytest-services plugin in test to avoid worker_id conflict (#612)
Co-authored-by: Bruno Oliveira <[email protected]>
1 parent 0d2480f commit ad99d94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ commands =
4242
towncrier --version {posargs} --yes
4343

4444
[pytest]
45-
addopts = -ra
45+
# pytest-services also defines a worker_id fixture, disable
46+
# it so they don't conflict with each other (#611).
47+
addopts = -ra -p no:pytest-services
4648
testpaths = testing
4749

4850
[flake8]

0 commit comments

Comments
 (0)