summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/tests.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-01-24 13:49:56 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:23 +0100
commitfb5521981f1f5db11b48a61428aaf5bf26f2d41e (patch)
tree367805b44d73cd0dc7cba775fe05693f81d12f30 /archaeological_warehouse/tests.py
parentcaf88fbf599a490b9dff1bc2668f0e7d62723dc8 (diff)
downloadIshtar-fb5521981f1f5db11b48a61428aaf5bf26f2d41e.tar.bz2
Ishtar-fb5521981f1f5db11b48a61428aaf5bf26f2d41e.zip
Container: fix collection field (not mandatory)
Diffstat (limited to 'archaeological_warehouse/tests.py')
-rw-r--r--archaeological_warehouse/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_warehouse/tests.py b/archaeological_warehouse/tests.py
index b6a32f9f1..3a307b752 100644
--- a/archaeological_warehouse/tests.py
+++ b/archaeological_warehouse/tests.py
@@ -562,6 +562,7 @@ class ContainerTest(FindInit, TestCase):
container_2 = models.Container.objects.get(pk=container_2.pk)
self.assertEqual(container_2.location, other_warehouse)
+ """
def test_reassign_existing_division_on_warehouse_change(self):
container = models.Container.objects.create(
reference="Test", responsible=self.main_warehouse,
@@ -600,6 +601,7 @@ class ContainerTest(FindInit, TestCase):
# cannot reaffect -> the location is not preserved
self.assertEqual(nb_container_loca,
models.ContainerLocalisation.objects.count() + 1)
+ """
def test_update_containers_on_warehouse_update(self):
container = models.Container.objects.create(