From 06b13fe771fd67ab655f0c81bbae51add767deb2 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 19 Jan 2022 15:49:24 +0100 Subject: Fix m2m listing on historic --- archaeological_context_records/tests.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archaeological_context_records/tests.py') diff --git a/archaeological_context_records/tests.py b/archaeological_context_records/tests.py index 353716ed2..35d1c2478 100644 --- a/archaeological_context_records/tests.py +++ b/archaeological_context_records/tests.py @@ -1046,6 +1046,8 @@ class RecordRelationsTest(ContextRecordInit, TestCase): profile = get_current_profile(force=True) models.ContextRecordTree.check_engine() crs = self.context_records + for r in models.RecordRelations.objects.all(): + r.delete() rel_type_1 = models.RelationType.objects.create( symmetrical=False, txt_idx="rel_1", logical_relation="included" -- cgit v1.2.3