diff options
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 |
commit | 4a6294c0594f82afd3af7f9ca8e5f17e6159a068 (patch) | |
tree | 1b6b8c2a2938bd26055e52200dbebabf6aef6c9c /ishtar_common/tests.py | |
parent | bccf76e071641c1f35b1f3f203642410d65cf58d (diff) | |
download | Ishtar-4a6294c0594f82afd3af7f9ca8e5f17e6159a068.tar.bz2 Ishtar-4a6294c0594f82afd3af7f9ca8e5f17e6159a068.zip |
Test: add admin test for some models
Diffstat (limited to 'ishtar_common/tests.py')
-rw-r--r-- | ishtar_common/tests.py | 10 |
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' |