Skip to content
Snippets Groups Projects
Commit 5f545da4 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

test: start the test method with the word test or it doesn't run

parent 5d03b647
No related branches found
No related tags found
No related merge requests found
...@@ -291,7 +291,7 @@ class NonStaffReviewOpinionCase(BaseViewTestCase): ...@@ -291,7 +291,7 @@ class NonStaffReviewOpinionCase(BaseViewTestCase):
def get_kwargs(self, instance): def get_kwargs(self, instance):
return {'pk': instance.id, 'submission_pk': instance.submission.id} return {'pk': instance.id, 'submission_pk': instance.submission.id}
def nonstaff_cant_post_opinion_to_review(self): def test_nonstaff_cant_post_opinion_to_review(self):
staff = StaffFactory() staff = StaffFactory()
review = ReviewFactory(submission=self.submission, author=staff, recommendation_yes=True) review = ReviewFactory(submission=self.submission, author=staff, recommendation_yes=True)
response = self.post_page(review, {'agree': AGREE}) response = self.post_page(review, {'agree': AGREE})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment