From 4a6294c0594f82afd3af7f9ca8e5f17e6159a068 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 5 Feb 2017 12:56:45 +0100 Subject: Test: add admin test for some models --- ishtar_common/tests.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ishtar_common/tests.py') diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py index a2d7bf46c..a512dcc07 100644 --- a/ishtar_common/tests.py +++ b/ishtar_common/tests.py @@ -271,11 +271,11 @@ class AdminGenTypeTest(TestCase): '../ishtar_common/fixtures/initial_importtypes-fr.json', settings.ROOT_PATH + '../archaeological_operations/fixtures/initial_data-fr.json'] - gen_models = [models.OrganizationType, models.PersonType, models.TitleType, - models.AuthorType, models.SourceType, models.OperationType, - models.SpatialReferenceSystem] - # models.Format, models.SupportType -- need fixtures - models_with_data = gen_models # + [models.ImporterModel] + gen_models = [ + models.OrganizationType, models.PersonType, models.TitleType, + models.AuthorType, models.SourceType, models.OperationType, + models.SpatialReferenceSystem, models.Format, models.SupportType] + models_with_data = gen_models + [models.ImporterModel] models = models_with_data module_name = 'ishtar_common' -- cgit v1.2.3