Example #1
0
 def test_roundtrip(self):
     for name,parsed in self.data:
         assert util.create_locale(util.parse_locale(name)) == name
Example #2
0
 def test_create(self):
     for name,parsed in self.data:
         assert util.create_locale(parsed) == name