diff options
Diffstat (limited to 'tests/frontend/push.py')
-rw-r--r-- | tests/frontend/push.py | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/tests/frontend/push.py b/tests/frontend/push.py index ffcc166f9..4b10b5bcd 100644 --- a/tests/frontend/push.py +++ b/tests/frontend/push.py @@ -239,16 +239,8 @@ def test_push_fails_with_on_error_continue(cli, tmpdir, datafiles): assert_shared(cli, share, project, "target.bst") assert_not_shared(cli, share, project, "import-dev.bst") - errors = [ - "import-dev.bst is not cached", - ( - "Error while pushing. The following elements were not pushed as they are not yet cached:\n" - "\n" - "\timport-dev.bst\n" - ), - ] - for error in errors: - assert error in result.stderr + + assert "Push failed: import-dev.bst is not cached" in result.stderr # Tests that `bst artifact push --deps DEPS` pushes selected dependencies of |