summaryrefslogtreecommitdiff
path: root/tests/integration/pullbuildtrees.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/pullbuildtrees.py')
-rw-r--r--tests/integration/pullbuildtrees.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/integration/pullbuildtrees.py b/tests/integration/pullbuildtrees.py
index 24fac7e00..7beb515e7 100644
--- a/tests/integration/pullbuildtrees.py
+++ b/tests/integration/pullbuildtrees.py
@@ -22,9 +22,10 @@ DATA_DIR = os.path.join(
# cleared as just forcefully removing the refpath leaves dangling objects.
def default_state(cli, tmpdir, share):
shutil.rmtree(os.path.join(str(tmpdir), 'artifacts'))
+ shutil.rmtree(os.path.join(str(tmpdir), 'cas'))
cli.configure({
'artifacts': {'url': share.repo, 'push': False},
- 'artifactdir': os.path.join(str(tmpdir), 'artifacts'),
+ 'cachedir': str(tmpdir),
'cache': {'pull-buildtrees': False},
})
@@ -45,7 +46,7 @@ def test_pullbuildtrees(cli2, tmpdir, datafiles):
create_artifact_share(os.path.join(str(tmpdir), 'share3')) as share3:
cli2.configure({
'artifacts': {'url': share1.repo, 'push': True},
- 'artifactdir': os.path.join(str(tmpdir), 'artifacts')
+ 'cachedir': str(tmpdir),
})
# Build autotools element, checked pushed, delete local