diff options
author | Jürg Billeter <j@bitron.ch> | 2020-10-06 17:05:27 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-10-27 08:12:46 +0100 |
commit | 5708857abe80edd7268ef3b76b5490124b225c86 (patch) | |
tree | fd14258f58819eb670f476a713f1e21ad95b7b26 /tests | |
parent | cddfbbb760ae9dc7220ae26a278a869547f79517 (diff) | |
download | buildstream-5708857abe80edd7268ef3b76b5490124b225c86.tar.gz |
Move shell element loading logic from Cli to Stream
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/shellbuildtrees.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/shellbuildtrees.py b/tests/integration/shellbuildtrees.py index 0d80c1640..bb3a758e1 100644 --- a/tests/integration/shellbuildtrees.py +++ b/tests/integration/shellbuildtrees.py @@ -131,7 +131,7 @@ def test_buildtree_from_failure(cli_integration, datafiles): project=project, args=["shell", "--build", element_name, "--use-buildtree", "always", "--", "cat", "test"] ) res.assert_success() - assert "WARNING: using a buildtree from a failed build" in res.stderr + assert "WARNING using a buildtree from a failed build" in res.stderr assert "Hi" in res.output @@ -175,7 +175,7 @@ def test_buildtree_from_failure_option_always(cli_integration, tmpdir, datafiles project=project, args=["shell", "--build", element_name, "--use-buildtree", "always", "--", "cat", "test"] ) res.assert_success() - assert "WARNING: using a buildtree from a failed build" in res.stderr + assert "WARNING using a buildtree from a failed build" in res.stderr assert "Hi" in res.output @@ -257,7 +257,7 @@ def test_buildtree_options(cli, tmpdir, datafiles): ) assert "Hi" not in res.output assert "Attempting to fetch missing artifact buildtrees" not in res.stderr - assert "WARNING: buildtree is not cached locally, shell will be loaded without it" in res.stderr + assert "WARNING buildtree is not cached locally, shell will be loaded without it" in res.stderr # Check correctly handling the lack of buildtree, with 'try' attempting and succeeding # to pull the buildtree as the user context allow the pulling of buildtrees and it is |