def test_canton_name(self, faker, num_samples):
    for _ in range(num_samples):
        canton_name = faker.canton_name()
        assert isinstance(canton_name, str)
        assert any(((canton_name == cantons[1]) for cantons in DeChAddressProvider.cantons))
def test_canton_name(self, faker, num_samples):
    for _ in range(num_samples):
        canton_name = faker.canton_name()
        assert isinstance(canton_name, str)
        assert any(((canton_name == cantons[1]) for cantons in DeChAddressProvider.cantons))