diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-10 14:57:00 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-10 14:57:00 +0100 |
commit | 1a451903577cbdc90a6a84a7033147e07c7e0c6c (patch) | |
tree | e5853e67bc3af9cdc31f0d5b6b2ce02dad4cf7e4 /archaeological_finds/tests.py | |
parent | 9cdd630404d25aaedb670de4d52dc3b106a7ef7c (diff) | |
download | Ishtar-1a451903577cbdc90a6a84a7033147e07c7e0c6c.tar.bz2 Ishtar-1a451903577cbdc90a6a84a7033147e07c7e0c6c.zip |
Fix test
Diffstat (limited to 'archaeological_finds/tests.py')
-rw-r--r-- | archaeological_finds/tests.py | 3 |
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, |