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 12:26:17 +0100
commit77db59dc6f5c95d54e7b58b8789b7a399a22e1ab (patch)
tree98b34885984452a07d23008dbf578ec990e2d18f /tests/artifactcache/push.py
parent2de79490ca5d55cac35580f172454f577b758abd (diff)
downloadbuildstream-tlater/cache-endpoints.tar.gz
Change unfitting function nametlater/cache-endpoints
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