Skip to content

Commit bc82aa5

Browse files
committed
add checks for all mapped variables
1 parent af6e8ae commit bc82aa5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pvlib/tests/iotools/test_psm3.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ def test_read_psm3_map_variables():
171171
"""test read_psm3 map_variables=True"""
172172
data, metadata = psm3.read_psm3(MANUAL_TEST_DATA, map_variables=True)
173173
columns_mapped = ['Year', 'Month', 'Day', 'Hour', 'Minute', 'dhi', 'ghi',
174-
'dni', 'ghi_clear', 'dhi_clear', 'dni_clear',
175-
'Cloud Type', 'temp_dew', 'solar_zenith',
176-
'Fill Flag', 'albedo', 'wind_speed',
177-
'wind_direction', 'precipitable_water',
178-
'relative_humidity', 'temp_air', 'pressure']
174+
'dni', 'ghi_clear', 'dhi_clear', 'dni_clear',
175+
'Cloud Type', 'temp_dew', 'solar_zenith',
176+
'Fill Flag', 'albedo', 'wind_speed',
177+
'wind_direction', 'precipitable_water',
178+
'relative_humidity', 'temp_air', 'pressure']
179179
data, metadata = psm3.read_psm3(MANUAL_TEST_DATA, map_variables=True)
180180
assert_index_equal(data.columns, pd.Index(columns_mapped))
181181

0 commit comments

Comments
 (0)