diff options
author | James Ennis <james.ennis@codethink.co.uk> | 2019-08-28 12:37:22 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-09-05 12:14:53 +0000 |
commit | d9e1055d0946a34f9903369522881c8b53f49671 (patch) | |
tree | 343c83727f9198c6e190158aa52eb03b56e71d01 /tests/frontend/buildcheckout.py | |
parent | 6d01f42ec4d05a06a90ceb1113128c6c686ae663 (diff) | |
download | buildstream-d9e1055d0946a34f9903369522881c8b53f49671.tar.gz |
_stream.py: Remove separate handling of ArtifactElements
ArtifactElement inherits Element, both have an Artifact
object as a member, thus we should not need to handle these
separately.
This change has resulted in introducing a configure_sandbox()
method in ArtifactElement. The method is similar to
BuildElement.configure_sandbox() but does not configure the
sandbox to actually be used for building.
Diffstat (limited to 'tests/frontend/buildcheckout.py')
-rw-r--r-- | tests/frontend/buildcheckout.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frontend/buildcheckout.py b/tests/frontend/buildcheckout.py index 6281217b7..72974a620 100644 --- a/tests/frontend/buildcheckout.py +++ b/tests/frontend/buildcheckout.py @@ -358,7 +358,7 @@ def test_build_checkout_invalid_ref(datafiles, cli): checkout_args = ['artifact', 'checkout', '--deps', 'none', '--tar', checkout, non_existent_artifact] result = cli.run(project=project, args=checkout_args) - assert "Artifact reference '{}' seems to be invalid".format(non_existent_artifact) in result.stderr + assert "Error while staging dependencies into a sandbox: 'No artifacts to stage'" in result.stderr @pytest.mark.datafiles(DATA_DIR) |