def test_secondary_address(self, faker, num_samples):
    for _ in range(num_samples):
        secondary_address = faker.secondary_address()
        assert isinstance(secondary_address, str)
        assert re.fullmatch('Apt\\. \\d{2}|Piso \\d|Puerta \\d', secondary_address)
def test_secondary_address(self, faker, num_samples):
    for _ in range(num_samples):
        secondary_address = faker.secondary_address()
        assert isinstance(secondary_address, str)
        assert re.fullmatch('Apt\\. \\d{2}|Piso \\d|Puerta \\d', secondary_address)