diff options
author | Benjamin Schubert <contact@benschubert.me> | 2020-06-17 19:39:11 +0000 |
---|---|---|
committer | Benjamin Schubert <contact@benschubert.me> | 2020-06-17 19:39:11 +0000 |
commit | 97204c747a71fadda0af2c02d0dd2c00869534a7 (patch) | |
tree | 21d360b1da256cf327f6e22b2b349629f72d0b87 | |
parent | 76f764b1a40e957b9636c480b7551713aa85fad4 (diff) | |
download | buildstream-97204c747a71fadda0af2c02d0dd2c00869534a7.tar.gz |
conftest.py: Ensure the `basetemp` is a resolved pathbschubert/cleanups
Otherwise some of BuildStream's config will fail and it is therefore
impossible to just run `pytest tests/`
-rwxr-xr-x | tests/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 8b526f982..bb4611a11 100755 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -140,6 +140,6 @@ def set_xdg_paths(pytestconfig): ]: value = os.environ.get("BST_TEST_{}".format(env_var)) if value is None: - value = os.path.join(pytestconfig.getoption("basetemp"), default) + value = os.path.realpath(os.path.join(pytestconfig.getoption("basetemp"), default)) os.environ[env_var] = value |