diff options
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 |
commit | 5cd87eee02b27b06395d927e8ff7c48eda513579 (patch) | |
tree | 69541c08d1623a131b67f6072d47fc736a8845d8 /archaeological_context_records/tests.py | |
parent | eb36ca6a917c39f6e595c1b1c53e85cffa79e902 (diff) | |
download | Ishtar-5cd87eee02b27b06395d927e8ff7c48eda513579.tar.bz2 Ishtar-5cd87eee02b27b06395d927e8ff7c48eda513579.zip |
Fix m2m listing on historic
Diffstat (limited to 'archaeological_context_records/tests.py')
-rw-r--r-- | archaeological_context_records/tests.py | 2 |
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" |