diff options
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( |