summaryrefslogtreecommitdiff
path: root/tests/integration/shellbuildtrees.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/integration/shellbuildtrees.py
parent1f9c48b431c06465bf3b07bf83ab68847874fbed (diff)
downloadbuildstream-f40212206bb3ee3f772f9a816476d9cb10c46fca.tar.gz
Change unfitting function name
Diffstat (limited to 'tests/integration/shellbuildtrees.py')
-rw-r--r--tests/integration/shellbuildtrees.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/shellbuildtrees.py b/tests/integration/shellbuildtrees.py
index 81a279479..146bc6062 100644
--- a/tests/integration/shellbuildtrees.py
+++ b/tests/integration/shellbuildtrees.py
@@ -239,7 +239,7 @@ def test_buildtree_options(cli, tmpdir, datafiles):
result = cli.run(project=project, args=['--cache-buildtrees', 'always', 'build', element_name])
result.assert_success()
assert cli.get_element_state(project, element_name) == 'cached'
- assert share.has_artifact(cli.get_artifact_name(project, 'test', element_name))
+ assert share.get_artifact(cli.get_artifact_name(project, 'test', element_name))
# Discard the cache
shutil.rmtree(str(os.path.join(str(tmpdir), 'cache', 'cas')))