def test_postcode(self, faker, num_samples):
    for _ in range(num_samples):
        postcode = faker.postcode()
        assert isinstance(postcode, str)
        assert (200 <= int(postcode) <= 4299)
def test_postcode(self, faker, num_samples):
    for _ in range(num_samples):
        postcode = faker.postcode()
        assert isinstance(postcode, str)
        assert (200 <= int(postcode) <= 4299)