def test_place_name(self, faker, num_samples):
    for _ in range(num_samples):
        place_name = faker.place_name()
        assert isinstance(place_name, str)
        assert (place_name in PtPtAddressProvider.places)
def test_place_name(self, faker, num_samples):
    for _ in range(num_samples):
        place_name = faker.place_name()
        assert isinstance(place_name, str)
        assert (place_name in PtPtAddressProvider.places)