From d013bb2c07ff8b742bfa67407b544ef061e9bf6f Mon Sep 17 00:00:00 2001 From: Josh Smith Date: Thu, 30 Aug 2018 14:47:01 +0100 Subject: tests: Modify tests to ensure retry FAILURE --- tests/sources/deb.py | 2 +- tests/sources/tar.py | 2 +- 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) -- cgit v1.2.1