From b148b73f1e3d3e196be83d640e83b5289aa08f87 Mon Sep 17 00:00:00 2001 From: danceratopz Date: Fri, 23 Jun 2023 15:12:07 +0200 Subject: [PATCH] fix: ensure all fixtures get written to json with xdist cf #159 --- pytest.ini | 1 + tox.ini | 1 + 2 files changed, 2 insertions(+) diff --git a/pytest.ini b/pytest.ini index 9692d4a422..994c3ba5a0 100644 --- a/pytest.ini +++ b/pytest.ini @@ -8,3 +8,4 @@ addopts = -p pytest_plugins.forks.forks -p pytest_plugins.spec_version_checker.spec_version_checker -m "not eip_version_check" + --dist loadscope diff --git a/tox.ini b/tox.ini index 654f4e4b7d..6eda4bb6a1 100644 --- a/tox.ini +++ b/tox.ini @@ -52,6 +52,7 @@ description = Run documentation checks extras = lint docs + test # we run pytest --collect-only in docs setenv = SPEC_TESTS_AUTO_GENERATE_FILES = true