def test_station_id_from_towards_alt_name_hr4(self): assert (tfl_tube.station_id_from_towards( "Heathrow via T4 Loop", "piccadilly") == "940GZZLUHR4")
def test_station_id_from_towards_not_a_station(self): assert (tfl_tube.station_id_from_towards("Check Front of Train", "circle") is None)
def test_station_id_from_towards_alt_name_circle(self): assert (tfl_tube.station_id_from_towards("Edgware Road (Circle)", "circle") == "940GZZLUERC")
def test_station_id_from_towards_alt_name_hr5(self): assert (tfl_tube.station_id_from_towards( "Heathrow T123 + 5", "piccadilly") == "940GZZLUHR5")
def test_station_id_from_towards_via_uppercase_v(self): assert (tfl_tube.station_id_from_towards("Woodford Via Hainault", "central") == "940GZZLUWOF")
def test_station_id_from_towards_via_lowercase_v(self): assert (tfl_tube.station_id_from_towards("Hainault via Newbury Park", "central") == "940GZZLUHLT")
def test_station_id_from_towards_apostrophe(self): assert (tfl_tube.station_id_from_towards("Queen's Park", "bakerloo") == "940GZZLUQPS")
def test_station_id_from_towards_alt_name_ampersand(self): assert (tfl_tube.station_id_from_towards("Elephant and Castle", "bakerloo") == "940GZZLUEAC")
def test_station_id_from_towards_normal(self): assert tfl_tube.station_id_from_towards("Hainault", "central") == "940GZZLUHLT"