Skip to content

Commit a218e95

Browse files
committed
Reverted test_data_query modification
1 parent fbcf180 commit a218e95

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pvlib/test/test_forecast.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
_longitude = -110.9
2323
_tz = 'US/Arizona'
2424
_time = pd.DatetimeIndex([datetime.now()], tz=_tz)
25-
_models = [GFS, NAM, HRRR, NDFD, RAP, HRRR_ESRL]
25+
_models = [GFS, NAM, HRRR, RAP, NDFD, HRRR_ESRL]
2626
_working_models = []
2727
_variables = np.array(['temperature',
2828
'wind_speed',
@@ -46,17 +46,16 @@ def test_fmcreation():
4646
if model.__name__ is not 'HRRR_ESRL':
4747
amodel = model()
4848
_working_models.append(amodel)
49-
data = amodel.get_query_data(_latitude, _longitude, _time)
5049
else:
5150
try:
5251
amodel = model()
5352
except (ParseError, HTTPError):
5453
pass
5554

5655

57-
# def test_data_query():
58-
# for amodel in _working_models:
59-
# data = amodel.get_query_data(_latitude, _longitude, _time)
56+
def test_data_query():
57+
for amodel in _working_models:
58+
data = amodel.get_query_data(_latitude, _longitude, _time)
6059

6160

6261
def test_dataframe_variables():

0 commit comments

Comments
 (0)