diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-06 18:41:00 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-06 18:41:00 +0200 |
commit | e64cbb108a790f1304f329e954d076a13b399ea9 (patch) | |
tree | c0bda4cd91bb0b2b9c200e9e78e8af124b7e4fc7 | |
parent | add a couple of the most basic tests using Pytest (diff) | |
download | cimple-e64cbb108a790f1304f329e954d076a13b399ea9.tar.gz cimple-e64cbb108a790f1304f329e954d076a13b399ea9.zip |
test: mark global fixtures as such
-rw-r--r-- | test/conftest.py | 4 |
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) |