def test_street_address(self, faker, num_samples):
    '\n        Tests street address.\n\n        A street address must consist of a street name, a place type and a number, and end in a period point.\n        '
    for _ in range(num_samples):
        address = faker.street_address()
        assert (address[(- 1)] == '.')
        assert address.split(' ')[(- 2)][0].islower()
        assert re.fullmatch('\\d{1,4}\\.', address.split(' ')[(- 1)])
Tests street address.

A street address must consist of a street name, a place type and a number, and end in a period point.
def test_street_address(self, faker, num_samples):
    '\n        Tests street address.\n\n        A street address must consist of a street name, a place type and a number, and end in a period point.\n        '
    for _ in range(num_samples):
        address = faker.street_address()
        assert (address[(- 1)] == '.')
        assert address.split(' ')[(- 2)][0].islower()
        assert re.fullmatch('\\d{1,4}\\.', address.split(' ')[(- 1)])