Exemplo n.º 1
0
 def test_unmatched(self):  # at ASG
     assert (tfl_tube.departure_direction_from_platform_name(
         "Eastbound/Westbound - Platform 2/3") is None)
Exemplo n.º 2
0
 def test_westbound_no_dash(self):  # at WLO
     assert (tfl_tube.departure_direction_from_platform_name(
         "Westbound Platform 26") == "Westbound")
Exemplo n.º 3
0
 def test_eastbound_upper_b(self):  # at BDS
     assert (tfl_tube.departure_direction_from_platform_name(
         "EastBound - Platform 1") == "Eastbound")
Exemplo n.º 4
0
 def test_inner(self):  # e.g. FLP
     assert (tfl_tube.departure_direction_from_platform_name(
         "Inner Rail - Platform 2", ) == "Inner Rail")
Exemplo n.º 5
0
 def test_outer(self):  # e.g. FLP
     assert (tfl_tube.departure_direction_from_platform_name(
         "Outer Rail - Platform 1", ) == "Outer Rail")
Exemplo n.º 6
0
 def test_southbound_fast(self):  # e.g. HOH
     assert (tfl_tube.departure_direction_from_platform_name(
         "Southbound Fast - Platform 6") == "Southbound")
Exemplo n.º 7
0
 def test_southbound(self):
     assert (tfl_tube.departure_direction_from_platform_name(
         "Southbound - Platform 4") == "Southbound")
Exemplo n.º 8
0
 def test_northbound(self):
     assert (tfl_tube.departure_direction_from_platform_name(
         "Northbound - Platform 1") == "Northbound")