Skip to content

Commit 734d158

Browse files
Add station test.
1 parent efc7f71 commit 734d158

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dweather_client/tests/test_station.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33
from datetime import date
44

55
def test_station():
6-
station = http_client.get_station_csv("ACW00011604")
6+
station = http_client.get_station_csv("ACW00011604")
7+
station_content = '"ACW00011604","1949-01-12","17.11667","-61.78333","10.1","ST JOHNS COOLIDGE FIELD, AC"," 0","T,,X"," 0",",,X"," 0",",,X"," 278",",,X"," 194",",,X",,,,,,,,,,," 1",",,X"'
8+
assert(station_content in station)

0 commit comments

Comments
 (0)