def test_parse_masternode_status_vin():
    from parkinglib import parse_masternode_status_vin
    status = mn_status_good()
    vin = parse_masternode_status_vin(status['vin'])
    assert (vin == 'f68a2e5d64f4a9be7ff8d0fbd9059dcd3ce98ad7a19a9260d1d6709127ffac56-1')
    status = mn_status_bad()
    vin = parse_masternode_status_vin(status['vin'])
    assert (vin is None)
def test_parse_masternode_status_vin():
    from parkinglib import parse_masternode_status_vin
    status = mn_status_good()
    vin = parse_masternode_status_vin(status['vin'])
    assert (vin == 'f68a2e5d64f4a9be7ff8d0fbd9059dcd3ce98ad7a19a9260d1d6709127ffac56-1')
    status = mn_status_bad()
    vin = parse_masternode_status_vin(status['vin'])
    assert (vin is None)