From 97cbe0205d439ca2c770fd67905ee5d7cc2a8179 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 24 2015 10:31:51 +0000 Subject: Adjust unit-tests for the change in the PR page --- diff --git a/tests/test_progit_flask_ui_fork.py b/tests/test_progit_flask_ui_fork.py index e26f170..e1f605c 100644 --- a/tests/test_progit_flask_ui_fork.py +++ b/tests/test_progit_flask_ui_fork.py @@ -1088,7 +1088,8 @@ index 0000000..2a552bb 'PR#1: PR from the feature branch - test - ' 'Pagure', output.data) self.assertIn( - '

Title: PR from the feature branch

', output.data) + '

Pull Request: PR from the feature branch

', + output.data) self.assertNotIn( '
  • Request assigned
  • ', output.data) @@ -1111,7 +1112,8 @@ index 0000000..2a552bb 'PR#1: PR from the feature branch - test - ' 'Pagure', output.data) self.assertIn( - '

    Title: PR from the feature branch

    ', output.data) + '

    Pull Request: PR from the feature branch

    ', + output.data) self.assertNotIn( '
  • Request assigned
  • ', output.data) @@ -1129,7 +1131,8 @@ index 0000000..2a552bb 'PR#1: PR from the feature branch - test - ' 'Pagure', output.data) self.assertIn( - '

    Title: PR from the feature branch

    ', output.data) + '

    Pull Request: PR from the feature branch

    ', + output.data) self.assertIn( '
  • No user "bar" found
  • ', output.data) @@ -1148,7 +1151,8 @@ index 0000000..2a552bb 'PR#1: PR from the feature branch - test - ' 'Pagure', output.data) self.assertIn( - '

    Title: PR from the feature branch

    ', output.data) + '

    Pull Request: PR from the feature branch

    ', + output.data) self.assertIn( '
  • Request assigned
  • ', output.data)