def test_city_name(self, faker, num_samples):
    for _ in range(num_samples):
        city_name = faker.city_name()
        assert isinstance(city_name, str)
        assert (city_name in ZhCnAddressProvider.cities)
def test_city_name(self, faker, num_samples):
    for _ in range(num_samples):
        city_name = faker.city_name()
        assert isinstance(city_name, str)
        assert (city_name in ZhCnAddressProvider.cities)