def test_roundtrip(self): for name,parsed in self.data: assert util.create_locale(util.parse_locale(name)) == name
def test_create(self): for name,parsed in self.data: assert util.create_locale(parsed) == name