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 | 5ca7407d99b07694fd5facf612f3d2c8562c000b (patch) | |
tree | 0aa879bf17c6dfab7879c85f76f15a69d2a843a8 /archaeological_warehouse/tests.py | |
parent | 26a7508ea2ae47ccbaf0e0bfc0d2bd4f64482824 (diff) | |
download | Ishtar-5ca7407d99b07694fd5facf612f3d2c8562c000b.tar.bz2 Ishtar-5ca7407d99b07694fd5facf612f3d2c8562c000b.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', |