From 1bf7089ea7913b680c6f50ca266411a712a0629b Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Wed, 5 Sep 2018 18:30:28 +0100 Subject: [PATCH] fixup! fixup! Make multiple determinations available per application --- opentech/apply/determinations/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentech/apply/determinations/tests/test_views.py b/opentech/apply/determinations/tests/test_views.py index c6f144041..5004cb5d5 100644 --- a/opentech/apply/determinations/tests/test_views.py +++ b/opentech/apply/determinations/tests/test_views.py @@ -52,7 +52,7 @@ class DeterminationFormTestCase(BaseViewTestCase): def test_cant_access_wrong_status(self): submission = ApplicationSubmissionFactory(status='more_info') response = self.get_page(submission, 'form') - self.assertEqual(response.status_code, 403) + self.assertRedirects(response, self.absolute_url(submission.get_absolute_url())) def test_cant_resubmit_determination(self): submission = ApplicationSubmissionFactory(status='in_discussion', lead=self.user) -- GitLab