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
commit3fa33e89b4e94a627498a896940e90467dafefd7 (patch)
tree405e660c5c41906de02b3d9a0cb2be639890e47d /archaeological_operations/tests.py
parent52dcf6ce595ee32aa49e9bf46540a0f638786fbf (diff)
downloadIshtar-3fa33e89b4e94a627498a896940e90467dafefd7.tar.bz2
Ishtar-3fa33e89b4e94a627498a896940e90467dafefd7.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"
)
)