diff options
Diffstat (limited to 'tests/unit/test_utils.py')
-rw-r--r-- | tests/unit/test_utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py index 6398e63f0..dcb2cb9f2 100644 --- a/tests/unit/test_utils.py +++ b/tests/unit/test_utils.py @@ -207,7 +207,9 @@ class TestXPathUtils(SearxTestCase): l = utils.detect_language('The quick brown fox jumps over\nthe lazy dog') self.assertEqual(l, 'en') - l = utils.detect_language('いろはにほへと ちりぬるを わかよたれそ つねならむ うゐのおくやま けふこえて あさきゆめみし ゑひもせす') + l = utils.detect_language( + 'いろはにほへと ちりぬるを わかよたれそ つねならむ うゐのおくやま けふこえて あさきゆめみし ゑひもせす' + ) self.assertEqual(l, 'ja') l = utils.detect_language('Pijamalı hasta yağız şoföre çabucak güvendi.') |