summaryrefslogtreecommitdiff
path: root/tests/frontend/remote-caches.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/frontend/remote-caches.py')
-rw-r--r--tests/frontend/remote-caches.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/frontend/remote-caches.py b/tests/frontend/remote-caches.py
index e3f10e6f7..089cf96e4 100644
--- a/tests/frontend/remote-caches.py
+++ b/tests/frontend/remote-caches.py
@@ -80,8 +80,9 @@ def test_source_artifact_caches(cli, tmpdir, datafiles):
# remove the artifact from the repo and check it pulls sources, builds
# and then pushes the artifacts
shutil.rmtree(os.path.join(cachedir, 'cas'))
- print(os.listdir(os.path.join(share.repodir, 'cas', 'refs', 'heads')))
- shutil.rmtree(os.path.join(share.repodir, 'cas', 'refs', 'heads', 'test'))
+ shutil.rmtree(os.path.join(cachedir, 'artifacts'))
+ print(os.listdir(os.path.join(share.repodir, 'artifacts', 'refs')))
+ shutil.rmtree(os.path.join(share.repodir, 'artifacts', 'refs', 'test'))
res = cli.run(project=project_dir, args=['build', 'repo.bst'])
res.assert_success()