def test_canada_subregion(self): classes = (v for k, v in registry.get_subregions('CA').items()) classes = list(classes) self._check_canada_provinces(classes)
def test_australia_territories(self): # Get all the subregions classes = (v for k, v in registry.get_subregions('AU').items()) classes = list(classes) for klass in AUSTRALIAN_TERRITORIES: self.assertIn(klass, classes)
def test_canada_subregion(self): classes = (v for k, v in registry.get_subregions('CA').items()) classes = list(classes) self._check_canada_provinces(classes)
def test_brazil_subregion(self): classes = (v for k, v in registry.get_subregions('BR').items()) classes = list(classes) self._check_brazil_states(classes)
def test_brazil_subregion(self): classes = (v for k, v in registry.get_subregions('BR').items()) classes = list(classes) self._check_brazil_states(classes)
def test_germany_subregion(self): # Get all the subregions classes = (v for k, v in registry.get_subregions('DE').items()) classes = list(classes) for klass in GERMANY_REGION_CLASSES: self.assertIn(klass, classes)
def test_germany_subregion(self): # Get all the subregions classes = (v for k, v in registry.get_subregions('DE').items()) classes = list(classes) for klass in GERMANY_REGION_CLASSES: self.assertIn(klass, classes)
def test_usa_subregion(self): # Get all the subregions classes = (v for k, v in registry.get_subregions('US').items()) classes = list(classes) self._check_all_states(classes)
def test_australia_territories(self): # Get all the subregions classes = (v for k, v in registry.get_subregions('AU').items()) classes = list(classes) for klass in AUSTRALIAN_TERRITORIES: self.assertIn(klass, classes)