def test_get_info(self):
     rails = RailStations(self.api_key)
     resp = rails.get_info(id=8301700)
     self.assertTrue(len(resp) > 0)
 def test_nearest_relevant(self):
     rails = RailStations(self.api_key)
     resp = rails.nearest_relevant(latitude=41.89021, longitude=12.492231)
     self.assertTrue(len(resp) > 0)
 def test_auto_complete(self):
     rails = RailStations(self.api_key)
     resp = rails.auto_complete(term='VENT')
     self.assertTrue(len(resp) > 0)
Beispiel #4
0
 def test_get_info(self):
     rails = RailStations(self.api_key)
     resp = rails.get_info(id=8301700)
     self.assertTrue(len(resp) > 0)
Beispiel #5
0
 def test_nearest_relevant(self):
     rails = RailStations(self.api_key)
     resp = rails.nearest_relevant(latitude=41.89021, longitude=12.492231)
     self.assertTrue(len(resp) > 0)
Beispiel #6
0
 def test_auto_complete(self):
     rails = RailStations(self.api_key)
     resp = rails.auto_complete(term='VENT')
     self.assertTrue(len(resp) > 0)