Пример #1
0
 def test_get_route_strings_alt(self):
     route_id = routes[HOME_TO_WORK][LINK]
     stop_id = stops[HOME_TO_WORK][LINK]
     filtered_route_info = OBA.find_next_arrival(route_id=route_id,
                                                 stop_id=stop_id)
     route_strings = OBA.routes_to_string(filtered_route_info)
     pprint.pprint(route_strings)
Пример #2
0
 def test_get_route_strings(self):
     #get route
     route_id = routes[HOME_TO_WORK][BUS]
     stop_id = stops[HOME_TO_WORK][BUS]
     filtered_route_info = OBA.find_next_arrival(route_id=route_id,
                                                 stop_id=stop_id)
     route_strings = OBA.routes_to_string(filtered_route_info)
Пример #3
0
 def test_get_times(self):
     route_id = routes[HOME_TO_WORK][BUS]
     stop_id = stops[HOME_TO_WORK][BUS]
     filtered_arr_info = OBA.find_next_arrival(route_id=route_id,
                                               stop_id=stop_id)
Пример #4
0
 def test_get_route_strings_alt(self):
     route_id = routes[HOME_TO_WORK][LINK]
     stop_id = stops[HOME_TO_WORK][LINK]
     filtered_route_info = OBA.find_next_arrival(route_id=route_id, stop_id=stop_id)
     route_strings = OBA.routes_to_string(filtered_route_info)
     pprint.pprint(route_strings)        
Пример #5
0
 def test_get_route_strings(self):
    #get route
     route_id = routes[HOME_TO_WORK][BUS]
     stop_id = stops[HOME_TO_WORK][BUS]
     filtered_route_info = OBA.find_next_arrival(route_id=route_id, stop_id=stop_id)
     route_strings = OBA.routes_to_string(filtered_route_info)
Пример #6
0
 def test_get_times(self):
     route_id = routes[HOME_TO_WORK][BUS]
     stop_id = stops[HOME_TO_WORK][BUS]
     filtered_arr_info = OBA.find_next_arrival(route_id=route_id, stop_id=stop_id)