def test_postcode(self, faker, num_samples):
    for _ in range(num_samples):
        assert (int(faker.postcode()) in self.postcodes)
def test_postcode(self, faker, num_samples):
    for _ in range(num_samples):
        assert (int(faker.postcode()) in self.postcodes)