diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-14 18:29:47 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-14 18:29:47 +0200 |
commit | 9f6e60eb9125e3becc471377f289d2c815257166 (patch) | |
tree | 0aa879bf17c6dfab7879c85f76f15a69d2a843a8 /archaeological_warehouse/tests.py | |
parent | e0ed1f16e23b95752cefd53011264801b7e96112 (diff) | |
download | Ishtar-9f6e60eb9125e3becc471377f289d2c815257166.tar.bz2 Ishtar-9f6e60eb9125e3becc471377f289d2c815257166.zip |
Fix file imports - fix tests with redirs
Diffstat (limited to 'archaeological_warehouse/tests.py')
-rw-r--r-- | archaeological_warehouse/tests.py | 6 |
1 files changed, 6 insertions, 0 deletions
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', |