From 5a56b6b55f761940f80491eddcdcf17d37215cfd Mon Sep 17 00:00:00 2001 From: Nejc Habjan Date: Mon, 31 Aug 2020 22:59:10 +0200 Subject: chore(test): use pathlib for paths --- tools/functional/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/functional/conftest.py') 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") -- cgit v1.2.1