summaryrefslogtreecommitdiff
path: root/archaeological_context_records
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-01-19 15:49:24 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:20:59 +0100
commit06b13fe771fd67ab655f0c81bbae51add767deb2 (patch)
tree69541c08d1623a131b67f6072d47fc736a8845d8 /archaeological_context_records
parentc7259304ea80cb5ca2ed0d4e4ca909f8b54ee176 (diff)
downloadIshtar-06b13fe771fd67ab655f0c81bbae51add767deb2.tar.bz2
Ishtar-06b13fe771fd67ab655f0c81bbae51add767deb2.zip
Fix m2m listing on historic
Diffstat (limited to 'archaeological_context_records')
-rw-r--r--archaeological_context_records/tests.py2
1 files changed, 2 insertions, 0 deletions
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"