summaryrefslogtreecommitdiff
path: root/tests/artifactcache/pull.py
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.com>2019-02-13 10:48:21 +0000
committerJames Ennis <james.ennis@codethink.com>2019-02-13 10:48:21 +0000
commit8c6baf2360a756562291a9b3f398aaa6d5f06491 (patch)
tree5618cc5bf3d3148a3560f2b6f72fc8aea4b8ac19 /tests/artifactcache/pull.py
parent6de65306882ebbbcb0cb791cc123645b0a756069 (diff)
parent6ae41474c175c454f850ac1ccdbfe663d60214bf (diff)
downloadbuildstream-8c6baf2360a756562291a9b3f398aaa6d5f06491.tar.gz
Merge branch 'jennis/refactor_artifact_log' into 'master'
Refactor artifact log command See merge request BuildStream/buildstream!1101
Diffstat (limited to 'tests/artifactcache/pull.py')
-rw-r--r--tests/artifactcache/pull.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/artifactcache/pull.py b/tests/artifactcache/pull.py
index edd5a93ba..4ab35f066 100644
--- a/tests/artifactcache/pull.py
+++ b/tests/artifactcache/pull.py
@@ -211,7 +211,7 @@ def test_pull_tree(cli, tmpdir, datafiles):
assert artifactcache.contains(element, element_key)
# Retrieve the Directory object from the cached artifact
- artifact_ref = artifactcache.get_artifact_fullname(element, element_key)
+ artifact_ref = element.get_artifact_name(element_key)
artifact_digest = cas.resolve_ref(artifact_ref)
queue = multiprocessing.Queue()