def test_autonomous_community(self, faker, num_samples):
    for _ in range(num_samples):
        autonomous_community = faker.autonomous_community()
        assert isinstance(autonomous_community, str)
        assert (autonomous_community in EsEsAddressProvider.regions)
def test_autonomous_community(self, faker, num_samples):
    for _ in range(num_samples):
        autonomous_community = faker.autonomous_community()
        assert isinstance(autonomous_community, str)
        assert (autonomous_community in EsEsAddressProvider.regions)