mirror of
https://github.com/torproject/gettor.git
synced 2024-12-04 08:37:38 +00:00
Change es string test to match json file
We haven't translated any es or pt strings, so use the English translation for now until we update those files.
This commit is contained in:
parent
3517e54ca7
commit
9bbda2ab50
@ -28,7 +28,7 @@ class LocalesTests(unittest.TestCase):
|
||||
|
||||
def test_load_es_strings(self):
|
||||
conftests.strings.load_strings("es")
|
||||
self.assertEqual(conftests.strings._("smtp_help_subject"), "[GetTor] Ayuda")
|
||||
self.assertEqual(conftests.strings._("smtp_help_subject"), "[GetTor] Help")
|
||||
|
||||
def test_locale_supported(self):
|
||||
self.assertEqual(self.locales['en']['language'], "English")
|
||||
|
Loading…
Reference in New Issue
Block a user