summaryrefslogtreecommitdiff
path: root/archaeological_context_records/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_context_records/tests.py')
-rw-r--r--archaeological_context_records/tests.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/archaeological_context_records/tests.py b/archaeological_context_records/tests.py
index 7277eaef0..89b15fbbf 100644
--- a/archaeological_context_records/tests.py
+++ b/archaeological_context_records/tests.py
@@ -41,11 +41,19 @@ from archaeological_context_records import views
CONTEXT_RECORD_FIXTURES = FILE_FIXTURES + [
settings.ROOT_PATH +
'../archaeological_context_records/fixtures/initial_data-fr.json',
+ '../archaeological_context_records/fixtures/'
+ 'initial_data_relation_type_norel-fr.json',
+ '../archaeological_context_records/fixtures/'
+ 'initial_data_relation_type-fr.json',
]
CONTEXT_RECORD_TOWNS_FIXTURES = FILE_TOWNS_FIXTURES + [
settings.ROOT_PATH +
'../archaeological_context_records/fixtures/initial_data-fr.json',
+ '../archaeological_context_records/fixtures/'
+ 'initial_data_relation_type_norel-fr.json',
+ '../archaeological_context_records/fixtures/'
+ 'initial_data_relation_type-fr.json',
]
@@ -374,7 +382,6 @@ class ContextRecordTest(ContextRecordInit, TestCase):
self.assertEqual(obj.datings.count(), 2)
-
class ContextRecordSearchTest(ContextRecordInit, TestCase):
fixtures = CONTEXT_RECORD_TOWNS_FIXTURES
@@ -618,7 +625,7 @@ class ContextRecordWizardCreationTest(WizardTest, ContextRecordInit, TestCase):
'relations',
{'right_record': self.related_cr.pk,
'relation_type': models.RelationType.objects.create(
- label="Test").pk}
+ label="Test", symmetrical=False).pk}
)
period = models.Period.objects.all()[0].pk