diff --git a/tests/test_progit_flask_ui_repo.py b/tests/test_progit_flask_ui_repo.py index 3b41bf4..200ee10 100644 --- a/tests/test_progit_flask_ui_repo.py +++ b/tests/test_progit_flask_ui_repo.py @@ -1946,7 +1946,8 @@ index 0000000..fb7093d output = self.app.post( '/test/upload/', data=data, follow_redirects=True) self.assertEqual(output.status_code, 404) - self.assertIn('
  • File uploaded
  • ', output.data) + self.assertIn('
  • File', output.data) + self.assertIn('uploaded
  • ', output.data) self.assertIn('
    No git repo found
    ', output.data) repo = tests.create_projects_git(tests.HERE) @@ -1956,7 +1957,8 @@ index 0000000..fb7093d output = self.app.post( '/test/upload/', data=data, follow_redirects=True) self.assertEqual(output.status_code, 200) - self.assertIn('
  • File uploaded
  • ', output.data) + self.assertIn('
  • File', output.data) + self.assertIn('uploaded
  • ', output.data) self.assertIn('This project has not been tagged.', output.data) @patch('pagure.ui.repo.admin_session_timedout')