Skip to content

Commit

Permalink
chore(test): use pathlib for paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nejch committed Aug 31, 2020
1 parent ad4b87c commit 5a56b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/functional/conftest.py
@@ -1,5 +1,5 @@
import os
import tempfile
from pathlib import Path
from random import randint

import pytest
Expand All @@ -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")
Expand Down

0 comments on commit 5a56b6b

Please sign in to comment.