From e64cbb108a790f1304f329e954d076a13b399ea9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 6 May 2023 18:41:00 +0200 Subject: test: mark global fixtures as such --- test/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/conftest.py b/test/conftest.py index 5f70bd5..33e94c5 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -74,12 +74,12 @@ class Paths: setattr(self, binary.codename, path) -@fixture +@fixture(scope='session') def paths(pytestconfig): return Paths(pytestconfig) -@fixture +@fixture(scope='session') def version(pytestconfig): return pytestconfig.getoption(CMD_LINE_VERSION.codename) -- cgit v1.2.3