示例#1
0
 def test_re_prefix_match_ascii_line_with_apostrophe(self):
     self.assertIsNotNone(
         configuration.re_prefix(u'    ["ci"] = "Côte d\'Ivoire",'))
示例#2
0
 def test_re_prefix_match_ascii_line_with_accents(self):
     self.assertIsNotNone(
         configuration.re_prefix(u'    ["re"] = "Réunion",'))
示例#3
0
 def test_re_prefix_match_ascii_line_with_space(self):
     self.assertIsNotNone(
         configuration.re_prefix(u'    ["gq"] = "Equatorial Guinea",'))
示例#4
0
 def test_re_prefix_match_ascii_line_with_dash(self):
     self.assertIsNotNone(
         configuration.re_prefix(u'    ["gw"] = "Guinea-Bissau",'))
示例#5
0
 def test_re_prefix_match_ascii_line(self):
     self.assertIsNotNone(
         configuration.re_prefix(u'    ["az"] = "Azerbaijan",'))