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.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py
index e1290b3de..c5d9f5c67 100644
--- a/ishtar_common/tests.py
+++ b/ishtar_common/tests.py
@@ -2538,8 +2538,10 @@ class ImportTest(TestCase):
),
}
response = c.post(reverse("new_import"), data)
- self.assertIn(str(_('"Associated images" field must be a valid zip file.')),
- response.content.decode("utf-8"))
+ expected = str(
+ _('"Associated images" field must be a valid zip file.')
+ ).replace('"', '"')
+ self.assertIn(expected, response.content.decode("utf-8"))
self.assertEqual(response.status_code, 200)
def test_archive_import(self):