Example #1
0
    def test_GetStationsAround(self):
        Cartography.synchronize(TEST_XML_URL_DATA_STATION)

        station = Station(self.velib_id)
        station.around_radius = 1200

        stations_around = station.stations_around
        self.assertEquals(len(stations_around), 9)

        Cartography.flush()