diff --git a/tests/test_pagure_lib_git_auth.py b/tests/test_pagure_lib_git_auth.py index 3f67d8a..d50226a 100644 --- a/tests/test_pagure_lib_git_auth.py +++ b/tests/test_pagure_lib_git_auth.py @@ -108,7 +108,7 @@ class PagureLibGitAuthtests(tests.Modeltests): self.assertEqual(output.status_code, 200) output_text = output.get_data(as_text=True) self.assertIn( - "Remote hook declined the push: " + "Remote hook declined the push: Running hooks for hooktest\n" "Denied push for ref 'refs/heads/master' for user 'pingou'\n" "All changes have been rejected", output_text @@ -147,7 +147,7 @@ class PagureLibGitAuthtests(tests.Modeltests): self.assertEqual(output.status_code, 200) output_text = output.get_data(as_text=True) self.assertIn( - "Remote hook declined the push: " + "Remote hook declined the push: Running hooks for hooktest\n" "Denied push for ref 'refs/heads/master' for user 'pingou'\n" "All changes have been rejected", output_text