diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-10-05 11:57:12 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:48 +0200 |
commit | 90cefa614654763b142b277d7b9ce08ccca07da2 (patch) | |
tree | 413cf2e6d461ecde4ecbfd25d0b2e716f8e9fb3e /archaeological_warehouse/tests.py | |
parent | a3ba8efda1566a293e21cfcbd43992192567f463 (diff) | |
download | Ishtar-90cefa614654763b142b277d7b9ce08ccca07da2.tar.bz2 Ishtar-90cefa614654763b142b277d7b9ce08ccca07da2.zip |
Optimize context record wizard
Diffstat (limited to 'archaeological_warehouse/tests.py')
-rw-r--r-- | archaeological_warehouse/tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_warehouse/tests.py b/archaeological_warehouse/tests.py index 7cd5af848..2aa45d806 100644 --- a/archaeological_warehouse/tests.py +++ b/archaeological_warehouse/tests.py @@ -269,6 +269,10 @@ class SerializationTest(GenericSerializationTest, FindInit, TestCase): res[("operations", "archaeological_operations__Operation")] ) self.assertEqual(len(ope_json), 1) + # force clean + for f in Find.objects.all(): + for h in f.history.all(): + h.delete() def test_cr_serialization_with_warehouse_filter(self): res = self.generic_serialization_test( |