summaryrefslogtreecommitdiff
path: root/ishtar_common/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/tests.py')
-rw-r--r--ishtar_common/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py
index b57ff0a94..a2d7bf46c 100644
--- a/ishtar_common/tests.py
+++ b/ishtar_common/tests.py
@@ -771,8 +771,10 @@ class ImportTest(TestCase):
# create an import, fields are not relevant...
create_user()
+ imp_model = models.ImporterModel.objects.create(
+ klass='ishtar_common.models.Person', name='Person')
importer_type = models.ImporterType.objects.create(
- associated_models='ishtar_common.models.Person')
+ associated_models=imp_model)
mcc_operation_file = DjangoFile(file(
settings.ROOT_PATH +
'../archaeological_operations/tests/MCC-operations-example.csv',