summaryrefslogtreecommitdiff
path: root/archaeological_operations/tests.py
diff options
context:
space:
mode:
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
commitbe7c6e13365e2d28bbaace64cbbaaa78e713d9f9 (patch)
tree405e660c5c41906de02b3d9a0cb2be639890e47d /archaeological_operations/tests.py
parent0835e730631093daea66f7f874b6c6690133bf30 (diff)
downloadIshtar-be7c6e13365e2d28bbaace64cbbaaa78e713d9f9.tar.bz2
Ishtar-be7c6e13365e2d28bbaace64cbbaaa78e713d9f9.zip
Tests: fix qrcode path test
Diffstat (limited to 'archaeological_operations/tests.py')
-rw-r--r--archaeological_operations/tests.py10
1 files changed, 5 insertions, 5 deletions
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"
)
)