From 3fa33e89b4e94a627498a896940e90467dafefd7 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_operations/tests.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'archaeological_operations/tests.py') diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 706bad836..3e172fc88 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -1750,7 +1750,7 @@ class LockTest(TestCase, OperationInitTest): self.operation.save() def test_wizard_lock(self): - cls_wiz = OperationWizardModifTest + cls_wiz = OperationWizardModifTest() url = reverse(cls_wiz.url_name) # first wizard step step = 'selec-operation_modification' @@ -1795,7 +1795,7 @@ class CustomFormTest(TestCase, OperationInitTest): c = Client() c.login(username=self.username, password=self.password) - cls_wiz = OperationWizardModifTest + cls_wiz = OperationWizardModifTest() url = reverse(cls_wiz.url_name) # first wizard step step = 'selec-operation_modification' @@ -1861,7 +1861,7 @@ class CustomFormTest(TestCase, OperationInitTest): c = Client() c.login(username=self.username, password=self.password) - cls_wiz = OperationWizardModifTest + cls_wiz = OperationWizardModifTest() url = reverse(cls_wiz.url_name) # first wizard step step = 'selec-operation_modification' @@ -1904,7 +1904,7 @@ class CustomFormTest(TestCase, OperationInitTest): c = Client() c.login(username=self.username, password=self.password) - cls_wiz = OperationWizardModifTest + cls_wiz = OperationWizardModifTest() url = reverse(cls_wiz.url_name) # first wizard step step = 'selec-operation_modification' @@ -3174,7 +3174,7 @@ class GenerateQRCode(OperationInitTest, TestCase): self.assertIsNotNone(self.operation.qrcode.name) self.assertTrue( self.operation.qrcode.name.startswith( - "operation/2010/OP2010-1/qrcode" + "operation/2010/OA1/qrcode" ) ) -- cgit v1.2.3