summaryrefslogtreecommitdiff
path: root/tests/frontend/show.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-12-13 11:49:39 -0500
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-12-13 11:49:39 -0500
commit44a49070c07433c99e6d9745f61479a21bbc31fd (patch)
treefe2c0da15f3a60dfcec858c895875ed1601ff78f /tests/frontend/show.py
parent1feef7c08980a635d78942e202bc93ec1fadb20e (diff)
downloadbuildstream-early-logging.tar.gz
Adapting test cases to expect logs in stderrearly-logging
And also adapted them to remove any occurrences of HAVE_ROOT.
Diffstat (limited to 'tests/frontend/show.py')
-rw-r--r--tests/frontend/show.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/frontend/show.py b/tests/frontend/show.py
index fde620137..2c2f03d96 100644
--- a/tests/frontend/show.py
+++ b/tests/frontend/show.py
@@ -70,9 +70,8 @@ def test_parallel_order(cli, tmpdir, datafiles):
assert result.exit_code == 0
- # Get the planned order, excepting the 'Loading' messages before
- # the pipeline is printed
- names = result.output.splitlines()[3:]
+ # Get the planned order
+ names = result.output.splitlines()
names = [name[len('multiple_targets/order/'):] for name in names]
# Create all possible 'correct' topological orderings
@@ -100,9 +99,8 @@ def test_target_is_dependency(cli, tmpdir, datafiles):
assert result.exit_code == 0
- # Get the planned order, excepting the 'Loading' messages before
- # the pipeline is printed
- names = result.output.splitlines()[3:]
+ # Get the planned order
+ names = result.output.splitlines()
names = [name[len('multiple_targets/dependency/'):] for name in names]
assert names == ['pony.bst', 'horsey.bst', 'zebry.bst']