diff options
Diffstat (limited to 'archaeological_operations/tests.py')
-rw-r--r-- | archaeological_operations/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 65cc0c316..54386135c 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -22,6 +22,7 @@ import datetime from subprocess import Popen, PIPE from io import StringIO, BytesIO import tempfile +import locale import zipfile from django.conf import settings @@ -1336,6 +1337,7 @@ class OperationTest(TestCase, OperationInitTest): self.assertTrue(filetype.startswith(b'application/pdf')) def test_show_odt(self): + locale.setlocale(locale.LC_ALL, 'fr_FR.UTF-8') operation = self.operations[0] c = Client() response = c.get(reverse('show-operation', |