diff options
author | Josh Smith <qinusty@gmail.com> | 2018-08-30 14:47:01 +0100 |
---|---|---|
committer | Josh Smith <qinusty@gmail.com> | 2018-08-31 12:29:46 +0100 |
commit | d013bb2c07ff8b742bfa67407b544ef061e9bf6f (patch) | |
tree | e30e150ecc4b93f439e6bad31b824cc95a1f9f98 | |
parent | 0dc7524417ad37fd99af583ea38e972e705fea90 (diff) | |
download | buildstream-Qinusty/retries-should-fail-backport.tar.gz |
tests: Modify tests to ensure retry FAILUREQinusty/retries-should-fail-backport
-rw-r--r-- | tests/sources/deb.py | 2 | ||||
-rw-r--r-- | tests/sources/tar.py | 2 | ||||
-rw-r--r-- | tests/sources/zip.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/sources/deb.py b/tests/sources/deb.py index 9df0dadf0..b5b031161 100644 --- a/tests/sources/deb.py +++ b/tests/sources/deb.py @@ -56,7 +56,7 @@ def test_fetch_bad_url(cli, tmpdir, datafiles): result = cli.run(project=project, args=[ 'fetch', 'target.bst' ]) - assert "Try #" in result.stderr + assert "FAILURE Try #" in result.stderr result.assert_main_error(ErrorDomain.STREAM, None) result.assert_task_error(ErrorDomain.SOURCE, None) diff --git a/tests/sources/tar.py b/tests/sources/tar.py index fb02de306..39afd7881 100644 --- a/tests/sources/tar.py +++ b/tests/sources/tar.py @@ -66,7 +66,7 @@ def test_fetch_bad_url(cli, tmpdir, datafiles): result = cli.run(project=project, args=[ 'fetch', 'target.bst' ]) - assert "Try #" in result.stderr + assert "FAILURE Try #" in result.stderr result.assert_main_error(ErrorDomain.STREAM, None) result.assert_task_error(ErrorDomain.SOURCE, None) diff --git a/tests/sources/zip.py b/tests/sources/zip.py index a168d529b..73767ee79 100644 --- a/tests/sources/zip.py +++ b/tests/sources/zip.py @@ -53,7 +53,7 @@ def test_fetch_bad_url(cli, tmpdir, datafiles): result = cli.run(project=project, args=[ 'fetch', 'target.bst' ]) - assert "Try #" in result.stderr + assert "FAILURE Try #" in result.stderr result.assert_main_error(ErrorDomain.STREAM, None) result.assert_task_error(ErrorDomain.SOURCE, None) |