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 | 3fa33e89b4e94a627498a896940e90467dafefd7 (patch) | |
tree | 405e660c5c41906de02b3d9a0cb2be639890e47d /archaeological_finds/tests.py | |
parent | 52dcf6ce595ee32aa49e9bf46540a0f638786fbf (diff) | |
download | Ishtar-3fa33e89b4e94a627498a896940e90467dafefd7.tar.bz2 Ishtar-3fa33e89b4e94a627498a896940e90467dafefd7.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" |