diff options
Diffstat (limited to 'archaeological_operations/tests.py')
-rw-r--r-- | archaeological_operations/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 18e17cca5..26217d7c3 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -202,7 +202,7 @@ class ImportTest(BaseImportTest): def init_ope_targetkey(self, imp): # doing manually connections - q = Q(importer=imp) | Q(user=imp.user) + q = Q(ishtar_import=imp) | Q(user=imp.user) | Q(importer_type=imp.importer_type) if imp.associated_group: q |= Q(group=imp.associated_group) for ik in ItemKey.objects.filter(q).all(): @@ -565,7 +565,7 @@ class ImportOperationTest(ImportTest, TestCase): other_imp = form.save(self.ishtar_user) # re-associate with another import - q = Q(importer=impt) | Q(user=impt.user) + q = Q(ishtar_import=impt) | Q(user=impt.user) | Q(importer_type=impt.importer_type) if impt.associated_group: q |= Q(group=impt.associated_group) for ik in ItemKey.objects.filter(q).all(): |