Commit d7afda80 authored by Michal Čihař's avatar Michal Čihař

Fix test expectation, this now redirects

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent f38da999
......@@ -95,7 +95,15 @@ class ChecksViewTest(ViewTestCase):
}
)
)
self.assertContains(response, u'…')
self.assertRedirects(
response,
'{0}?type=ellipsis'.format(
reverse('review_source', kwargs={
'project': self.project.slug,
'subproject': self.subproject.slug,
})
)
)
response = self.client.get(
reverse(
......
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