From be7c6e13365e2d28bbaace64cbbaaa78e713d9f9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 17 Dec 2020 23:30:23 +0100 Subject: Tests: fix qrcode path test --- archaeological_finds/tests.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'archaeological_finds/tests.py') 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" -- cgit v1.2.3