Commit ad248aef authored by Robert's avatar Robert

Fix tests after disabling polls, refs #654

parent 361ad3da
Pipeline #1831 passed with stage
in 2 minutes and 40 seconds
......@@ -163,10 +163,10 @@ class Gestalt(memberships.AuthenticatedMemberMixin, grouprise.core.tests.Test):
content__title='Test').get_absolute_url()
def test_gestalt_poll_link(self):
self.assertContainsLink(self.client.get('/'), self.get_url('create-poll'))
self.assertContainsLink(
self.assertNotContainsLink(self.client.get('/'), self.get_url('create-poll'))
self.assertNotContainsLink(
self.client.get(self.gestalt.get_absolute_url()), self.get_url('create-poll'))
self.assertContainsLink(self.client.get(self.group.get_absolute_url()), self.get_url(
self.assertNotContainsLink(self.client.get(self.group.get_absolute_url()), self.get_url(
'create-group-poll', self.group.slug))
def test_gestalt_create_poll(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment