Exemplo n.º 1
0
    def test_SBJR_20150131(self):
        station_code = 'SBJR'
        date = datetime(2015, 1, 31)
        url = "http://www.wunderground.com/history/airport/SBJR/2015/1/31/DailyHistory.html?format=1"

        self.assertEqual(wu_url(station_code, date), url)
Exemplo n.º 2
0
    def test_SBGL_20150228(self):
        station_code = 'SBGL'
        date = datetime(2015, 2, 28)
        url = "http://www.wunderground.com/history/airport/SBGL/2015/2/28/DailyHistory.html?format=1"

        self.assertEqual(wu_url(station_code, date), url)