diff options
Diffstat (limited to 'archaeological_finds/tests.py')
-rw-r--r-- | archaeological_finds/tests.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py index c9ee0f9ed..cb5ca5644 100644 --- a/archaeological_finds/tests.py +++ b/archaeological_finds/tests.py @@ -873,10 +873,13 @@ class ImportFindTest(ImportTest, FindInit, TestCase): impt.importation() # check errors self.assertEqual(len(impt.errors), 2) + error_msg = str( + _("The division {} {} do not exist for the location {}.") + ).format("Area", "43", "Warehouse test") for error in impt.errors: self.assertEqual( error["error"], - "The division Area 43 do not exist for the location Warehouse " "test.", + error_msg ) def tearDown(self): |