summaryrefslogtreecommitdiff
path: root/archaeological_finds/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/tests.py')
-rw-r--r--archaeological_finds/tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py
index 1f26463ca..f609fff47 100644
--- a/archaeological_finds/tests.py
+++ b/archaeological_finds/tests.py
@@ -796,7 +796,8 @@ class FindQATest(FindInit, TestCase):
reverse('find-qa-bulk-update-confirm', args=[pks]),
{'qa_period': period, 'qa_description': extra_desc}
)
- self.assertRedirects(response, '/success/')
+ if response.status_code != 200:
+ self.assertRedirects(response, '/success/')
self.assertIn(period,
[dating.period.pk for dating in find_0.datings.all()])
self.assertIn(period,