summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-05 12:56:45 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-05 12:56:45 +0100
commit4ee9b6fe48cdfd3a50f947fb7f6a7d98c1982abc (patch)
tree1b6b8c2a2938bd26055e52200dbebabf6aef6c9c
parent40e4158a7c649f315cc8f88beed89e301bb59a07 (diff)
downloadIshtar-4ee9b6fe48cdfd3a50f947fb7f6a7d98c1982abc.tar.bz2
Ishtar-4ee9b6fe48cdfd3a50f947fb7f6a7d98c1982abc.zip
Test: add admin test for some models
-rw-r--r--ishtar_common/tests.py10
1 files changed, 5 insertions, 5 deletions
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'