Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pymta/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,22 @@
"6": "1",
"7": "1",
"GS": "1",
# Feed A: A, C, E, H (Rockaway Shuttle), FS (Franklin Av Shuttle)
# Feed A: A, C, E, H (Rockaway Shuttle)
"A": "A",
"C": "A",
"E": "A",
"H": "A",
"FS": "A",
# Feed N: N, Q, R, W
"N": "N",
"Q": "N",
"R": "N",
"W": "N",
# Feed B: B, D, F, M
# Feed B: B, D, F, M, FS (Franklin Av Shuttle)
"B": "B",
"D": "B",
"F": "B",
"M": "B",
"FS": "B",
# Feed L: L
"L": "L",
# Feed SI: SIR (Staten Island Railway)
Expand Down
2 changes: 2 additions & 0 deletions tests/test_subway_feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ def test_get_feed_id_for_route():
assert SubwayFeed.get_feed_id_for_route("Q") == "N"
assert SubwayFeed.get_feed_id_for_route("1") == "1"
assert SubwayFeed.get_feed_id_for_route("F") == "B"
# The Franklin Av Shuttle is published in the BDFM feed, not ACE.
assert SubwayFeed.get_feed_id_for_route("FS") == "B"


def test_get_feed_id_for_invalid_route():
Expand Down
Loading