aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-06 18:41:00 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-06 18:41:00 +0200
commite64cbb108a790f1304f329e954d076a13b399ea9 (patch)
treec0bda4cd91bb0b2b9c200e9e78e8af124b7e4fc7 /test
parentadd a couple of the most basic tests using Pytest (diff)
downloadcimple-e64cbb108a790f1304f329e954d076a13b399ea9.tar.gz
cimple-e64cbb108a790f1304f329e954d076a13b399ea9.zip
test: mark global fixtures as such
Diffstat (limited to '')
-rw-r--r--test/conftest.py4
1 files changed, 2 insertions, 2 deletions
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)