Merged by\n', output.data)
self.assertIn(
'title="View file as of 2a552b">View', output.data)
@@ -595,8 +595,8 @@ class PagureFlaskForktests(tests.Modeltests):
output = self.app.get('/test/pull-request/1')
self.assertEqual(output.status_code, 200)
self.assertIn(
- '
PR#1 '
- 'PR from the feature branch
', output.data)
+ '
PR#1\n'
+ ' PR from the feature branch\n
', output.data)
self.assertTrue(
output.data.count('
PR#1: PR from the feature branch - test\n - '
'Pagure', output.data)
self.assertIn(
- 'PR#1 '
- 'PR from the feature branch
', output.data)
+ 'PR#1\n'
+ ' PR from the feature branch\n
', output.data)
self.assertNotIn(
'\n Request assigned',
output.data)
@@ -1163,8 +1163,8 @@ index 0000000..2a552bb
'PR#1: PR from the feature branch - test\n - '
'Pagure', output.data)
self.assertIn(
- 'PR#1 '
- 'PR from the feature branch
', output.data)
+ 'PR#1\n'
+ ' PR from the feature branch\n
', output.data)
self.assertNotIn(
'\n Request assigned',
output.data)
@@ -1183,8 +1183,8 @@ index 0000000..2a552bb
'PR#1: PR from the feature branch - test\n - '
'Pagure', output.data)
self.assertIn(
- 'PR#1 '
- 'PR from the feature branch
', output.data)
+ 'PR#1\n'
+ ' PR from the feature branch\n
', output.data)
self.assertIn(
'\n No user "bar" found',
output.data)
@@ -1203,8 +1203,8 @@ index 0000000..2a552bb
'PR#1: PR from the feature branch - test\n - '
'Pagure', output.data)
self.assertIn(
- 'PR#1 '
- 'PR from the feature branch
', output.data)
+ 'PR#1\n'
+ ' PR from the feature branch\n
', output.data)
self.assertIn(
'\n Request assigned',
output.data)
@@ -1529,8 +1529,8 @@ index 0000000..2a552bb
'/test/pull-request/1/comment/drop', follow_redirects=True)
self.assertEqual(output.status_code, 200)
self.assertIn(
- 'PR#1 '
- 'PR from the feature branch
', output.data)
+ 'PR#1\n'
+ ' PR from the feature branch\n
', output.data)
#self.assertIn('href="#comment-1">ΒΆ', output.data)
self.assertIn(
'This look alright but we can do better
',
@@ -1563,8 +1563,8 @@ index 0000000..2a552bb
follow_redirects=True)
self.assertEqual(output.status_code, 200)
self.assertIn(
- 'PR#1 PR from '
- 'the feature branch ',
+ 'PR#1\n'
+ ' PR from the feature branch\n ',
output.data)
self.assertIn(
'\n Comment removed',
@@ -1620,8 +1620,8 @@ index 0000000..2a552bb
self.assertEqual(output.status_code, 200)
self.assertIn(
- 'PR#1 PR from '
- 'the feature branch ',
+ 'PR#1\n'
+ ' PR from the feature branch\n ',
output.data)
self.assertIn(
'\n Comment added',
@@ -1651,8 +1651,8 @@ index 0000000..2a552bb
self.assertIn(
'This look alright but we can do better than this.
', output.data)
self.assertIn(
- 'PR#1 PR from '
- 'the feature branch ',
+ 'PR#1\n'
+ ' PR from the feature branch\n ',
output.data)
# Checking if Edited by User is there or not
self.assertIn(