summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_warehouse/tests.py')
-rw-r--r--archaeological_warehouse/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_warehouse/tests.py b/archaeological_warehouse/tests.py
index dc7d72286..a201ba272 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(