示例#1
0
 def test_join_locale(self):
     self.assertEqual(
             locales.join_locale(
                 {'charmap': 'utf-8',
                  'modifier': 'valencia',
                  'codeset': 'UTF-8',
                  'language': 'ca',
                  'territory': 'ES'}),
             'ca_ES.UTF-8@valencia utf-8')
示例#2
0
 def test_join_locale(self):
     self.assertEqual(
             locales.join_locale(
                 {'charmap': 'utf-8',
                  'modifier': 'valencia',
                  'codeset': 'UTF-8',
                  'language': 'ca',
                  'territory': 'ES'}),
             'ca_ES.UTF-8@valencia utf-8')
示例#3
0
 def test_join_locale(self):
     self.assertEqual(
         locales.join_locale({
             "charmap": "utf-8",
             "modifier": "valencia",
             "codeset": "UTF-8",
             "language": "ca",
             "territory": "ES",
         }),
         "ca_ES.UTF-8@valencia utf-8",
     )