From 5708857abe80edd7268ef3b76b5490124b225c86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Tue, 6 Oct 2020 17:05:27 +0200 Subject: Move shell element loading logic from Cli to Stream --- tests/integration/shellbuildtrees.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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 -- cgit v1.2.1