def test_valid_parking_address():
    from parkinglib import is_valid_parking_address
    main = valid_parking_address()
    test = valid_parking_address('testnet')
    assert (is_valid_parking_address(main) is True)
    assert (is_valid_parking_address(main, 'mainnet') is True)
    assert (is_valid_parking_address(main, 'testnet') is False)
    assert (is_valid_parking_address(test) is False)
    assert (is_valid_parking_address(test, 'mainnet') is False)
    assert (is_valid_parking_address(test, 'testnet') is True)
def test_valid_parking_address():
    from parkinglib import is_valid_parking_address
    main = valid_parking_address()
    test = valid_parking_address('testnet')
    assert (is_valid_parking_address(main) is True)
    assert (is_valid_parking_address(main, 'mainnet') is True)
    assert (is_valid_parking_address(main, 'testnet') is False)
    assert (is_valid_parking_address(test) is False)
    assert (is_valid_parking_address(test, 'mainnet') is False)
    assert (is_valid_parking_address(test, 'testnet') is True)