summaryrefslogtreecommitdiff
path: root/tests/artifactcache/push.py
diff options
context:
space:
mode:
authorTristan Maat <tristan.maat@codethink.co.uk>2019-09-05 12:47:15 +0100
committerTristan Maat <tristan.maat@codethink.co.uk>2019-09-06 15:55:10 +0100
commitf40212206bb3ee3f772f9a816476d9cb10c46fca (patch)
tree3b2cab77021916fb37fdb7eb60001bc8f8bd2608 /tests/artifactcache/push.py
parent1f9c48b431c06465bf3b07bf83ab68847874fbed (diff)
downloadbuildstream-f40212206bb3ee3f772f9a816476d9cb10c46fca.tar.gz
Change unfitting function name
Diffstat (limited to 'tests/artifactcache/push.py')
-rw-r--r--tests/artifactcache/push.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/artifactcache/push.py b/tests/artifactcache/push.py
index 364ac39f0..8b00d0fb7 100644
--- a/tests/artifactcache/push.py
+++ b/tests/artifactcache/push.py
@@ -84,7 +84,7 @@ def test_push(cli, tmpdir, datafiles):
# Write down the user configuration file
_yaml.roundtrip_dump(user_config, file=user_config_file)
element_key = _push(cli, rootcache_dir, project_dir, user_config_file, 'target.bst')
- assert share.has_artifact(cli.get_artifact_name(project_dir, 'test', 'target.bst', cache_key=element_key))
+ assert share.get_artifact(cli.get_artifact_name(project_dir, 'test', 'target.bst', cache_key=element_key))
@pytest.mark.in_subprocess