diff --git a/tests/test_pagure_flask_ui_issues.py b/tests/test_pagure_flask_ui_issues.py index 84f96ad..e9d5366 100644 --- a/tests/test_pagure_flask_ui_issues.py +++ b/tests/test_pagure_flask_ui_issues.py @@ -114,15 +114,10 @@ class PagureFlaskIssuestests(tests.Modeltests): # Invalid user data['csrf_token'] = csrf_token output = self.app.post('/test/new_issue', data=data) - self.assertEqual(output.status_code, 200) - self.assertTrue( - '
No such user found in the database: username
', + output.data) user.username = 'pingou' with tests.user_set(pagure.APP, user):