def test_input_address_formatter_errors(value): with pytest.raises(ValueError): formatters.input_address_formatter(value)
def test_input_address_formatter(value, expected): assert formatters.input_address_formatter(value) == expected