summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-11-27 20:28:15 +0100
committerNejc Habjan <hab.nejc@gmail.com>2021-11-27 21:08:47 +0100
commit6b892e3dcb18d0f43da6020b08fd4ba891da3670 (patch)
treee97beaaca3b5b94764f78e0fd99df0c53fd19f8b /tests/conftest.py
parent70b9870f929c4db32fd2e1406db2122de9958bfd (diff)
downloadgitlab-test/cli-coverage.tar.gz
test(cli): improve basic CLI coveragetest/cli-coverage
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
new file mode 100644
index 0000000..12b573f
--- /dev/null
+++ b/tests/conftest.py
@@ -0,0 +1,6 @@
+import pytest
+
+
+@pytest.fixture(scope="session")
+def test_dir(pytestconfig):
+ return pytestconfig.rootdir / "tests"