summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2020-08-31 22:59:10 +0200
committerNejc Habjan <nejc.habjan@siemens.com>2020-08-31 23:48:55 +0200
commit5a56b6b55f761940f80491eddcdcf17d37215cfd (patch)
treecf6a3ebd28db609a9b738ba9bee9a6812f354842 /tools
parentad4b87cb3d6802deea971e6574ae9afe4f352e31 (diff)
downloadgitlab-feat/instance-variables-api.tar.gz
chore(test): use pathlib for pathsfeat/instance-variables-api
Diffstat (limited to 'tools')
-rw-r--r--tools/functional/conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/functional/conftest.py b/tools/functional/conftest.py
index e12471b..e60fa39 100644
--- a/tools/functional/conftest.py
+++ b/tools/functional/conftest.py
@@ -1,5 +1,5 @@
-import os
import tempfile
+from pathlib import Path
from random import randint
import pytest
@@ -22,7 +22,7 @@ def random_id():
@pytest.fixture(scope="session")
def CONFIG():
- return os.path.join(TEMP_DIR, "python-gitlab.cfg")
+ return Path(TEMP_DIR) / "python-gitlab.cfg"
@pytest.fixture(scope="session")