Revert an attempt to improve a nomcom test. Affects #2260. Commit ready for merge.
- Legacy-Id: 13389
This commit is contained in:
parent
ceff54480c
commit
4b0fefeb3e
|
@ -857,8 +857,6 @@ class NomcomViewsTest(TestCase):
|
|||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, "alert-success")
|
||||
self.assertNotContains(response, "feedbackform")
|
||||
q = PyQuery(response.content)
|
||||
self.assertEqual( int(q("#nominees .badge").text()), Feedback.objects.filter(positions__in=[position],nominees__in=[nominee],type_id='comment').count() )
|
||||
|
||||
## check objects
|
||||
feedback = Feedback.objects.filter(positions__in=[position],
|
||||
|
|
Loading…
Reference in a new issue