diff --git a/pagure/ui/issues.py b/pagure/ui/issues.py index 6d1b74b..25b633b 100644 --- a/pagure/ui/issues.py +++ b/pagure/ui/issues.py @@ -999,7 +999,6 @@ def view_issue(repo, issueid, username=None, namespace=None): knowns_keys=knowns_keys, subscribers=pagure.lib.get_watch_list(SESSION, issue), attachments=issue.attachments, - subscribed=subscribed, ) diff --git a/tests/test_pagure_flask_ui_repo.py b/tests/test_pagure_flask_ui_repo.py index 2454ef5..816c0c3 100644 --- a/tests/test_pagure_flask_ui_repo.py +++ b/tests/test_pagure_flask_ui_repo.py @@ -264,13 +264,37 @@ class PagureFlaskRepotests(tests.Modeltests): 'user': 'ralph', } + # Missing access output = self.app.post('/test/adduser', data=data) self.assertEqual(output.status_code, 200) + self.assertIn( + '
The Project Creator has not pushed any code yet
', output.data) @@ -156,7 +156,7 @@ class PagureFlaskSlashInNametests(tests.Modeltests): self.assertEqual(output.status_code, 200) self.assertIn( 'The Project Creator has not pushed any code yet
', output.data) @@ -188,7 +188,7 @@ class PagureFlaskSlashInNametests(tests.Modeltests): self.assertEqual(output.status_code, 200) self.assertIn( '