summaryrefslogtreecommitdiff
path: root/tests/frontend
diff options
context:
space:
mode:
authorRaoul Hidalgo Charman <raoul.hidalgocharman@codethink.co.uk>2019-02-11 12:07:55 +0000
committerJürg Billeter <j@bitron.ch>2019-02-19 17:05:17 +0000
commit4b62b9362870045a6203d01f2abf3e437bf23ae6 (patch)
tree36377248836d2f6e8e25d87a81a7de1bd27bc722 /tests/frontend
parentc7f76268cc6f35209587749df85f3af9cfbaabf1 (diff)
downloadbuildstream-4b62b9362870045a6203d01f2abf3e437bf23ae6.tar.gz
context: remove artifactdir
Will check and move old artifact directory if it exists, and create symlink linking old directory to new. Part of #870
Diffstat (limited to 'tests/frontend')
-rw-r--r--tests/frontend/pull.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/frontend/pull.py b/tests/frontend/pull.py
index 072b76e69..1326beccc 100644
--- a/tests/frontend/pull.py
+++ b/tests/frontend/pull.py
@@ -510,8 +510,8 @@ def test_pull_access_rights(caplog, cli, tmpdir, datafiles):
shutil.rmtree(checkout)
- artifacts = os.path.join(cli.directory, 'artifacts')
- shutil.rmtree(artifacts)
+ casdir = os.path.join(cli.directory, 'cas')
+ shutil.rmtree(casdir)
result = cli.run(project=project, args=['artifact', 'pull', 'compose-all.bst'])
result.assert_success()