summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbst-marge-bot <marge-bot@buildstream.build>2019-05-24 15:50:24 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-05-24 15:50:24 +0000
commitc3f9528c5953c32cfc8be172710a0a30b6bfb2fb (patch)
tree8bb7e3ed4c701d85e1c2f9681d5a876047647465
parent66a91a2beb9cb348aa18662c2f0c22976785832b (diff)
parenta97c8e7bd09cbd066f62ea17551f7e797890ce8a (diff)
downloadbuildstream-c3f9528c5953c32cfc8be172710a0a30b6bfb2fb.tar.gz
Merge branch 'bschubert/normalize-path-in-context-tests' into 'master'
Fix: tests/context.py: Normalize path of XDG_CACHE See merge request BuildStream/buildstream!1351
-rw-r--r--tests/internals/context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/internals/context.py b/tests/internals/context.py
index 82d600133..da7b307d8 100644
--- a/tests/internals/context.py
+++ b/tests/internals/context.py
@@ -40,7 +40,7 @@ def test_context_create(context_fixture):
#######################################
def test_context_load(context_fixture):
context = context_fixture['context']
- cache_home = context_fixture['xdg-cache']
+ cache_home = os.path.normpath(context_fixture['xdg-cache'])
assert isinstance(context, Context)
context.load(config=os.devnull)