diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-12-17 23:30:23 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:23 +0100 |
commit | be7c6e13365e2d28bbaace64cbbaaa78e713d9f9 (patch) | |
tree | 405e660c5c41906de02b3d9a0cb2be639890e47d /archaeological_finds/tests.py | |
parent | 0835e730631093daea66f7f874b6c6690133bf30 (diff) | |
download | Ishtar-be7c6e13365e2d28bbaace64cbbaaa78e713d9f9.tar.bz2 Ishtar-be7c6e13365e2d28bbaace64cbbaaa78e713d9f9.zip |
Tests: fix qrcode path test
Diffstat (limited to 'archaeological_finds/tests.py')
-rw-r--r-- | archaeological_finds/tests.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py index c5d860cad..548a74e7b 100644 --- a/archaeological_finds/tests.py +++ b/archaeological_finds/tests.py @@ -343,7 +343,11 @@ class FindWizardModificationTest(WizardTest, FindInit, TestCase): ] def pre_wizard(self): - find, __ = self.get_default_find() + profile, created = IshtarSiteProfile.objects.get_or_create( + slug='default', active=True) + profile.warehouse = False + profile.save() + find, __ = self.get_default_find(force=True) self.find = find find.label = "base-hop" find.check_date = "2020-07-01" |