From 5ca7407d99b07694fd5facf612f3d2c8562c000b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 14 Sep 2019 18:29:47 +0200 Subject: Fix file imports - fix tests with redirs --- archaeological_warehouse/tests.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'archaeological_warehouse/tests.py') diff --git a/archaeological_warehouse/tests.py b/archaeological_warehouse/tests.py index 6d6dbddc9..72124e685 100644 --- a/archaeological_warehouse/tests.py +++ b/archaeological_warehouse/tests.py @@ -365,6 +365,9 @@ class WarehouseWizardCreationTest(WizardTest, FindInit, TestCase): url_name = 'warehouse_creation' wizard_name = 'warehouse_wizard' steps = views.warehouse_creation_steps + redirect_url = "/warehouse_modification/selec-warehouse_modification"\ + "?open_item={last_id}" + model = models.Warehouse # back is messing with divisions but it is not a real problem because # reinit is necessary test_back = False @@ -425,6 +428,9 @@ class ContainerWizardCreationTest(WizardTest, FindInit, TestCase): url_name = 'container_creation' wizard_name = 'container_wizard' steps = views.container_creation_steps + redirect_url = '/container_modification/selec-container_modification'\ + '?open_item={last_id}' + model = models.Container form_datas = [ FormData( 'Container creation', -- cgit v1.2.3