Skip to content

Commit 996b4b8

Browse files
committed
replace attributes with parameters in test_psm4
1 parent 3c930fa commit 996b4b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/iotools/test_psm4.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,12 @@ def test_read_nsrdb_psm4_map_variables():
172172

173173
@pytest.mark.remote_data
174174
@pytest.mark.flaky(reruns=RERUNS, reruns_delay=RERUNS_DELAY)
175-
def test_get_nsrdb_psm4_aggregated_attribute_mapping(nrel_api_key):
176-
"""Test that pvlib names can be passed in as attributes and get correctly
175+
def test_get_nsrdb_psm4_aggregated_parameter_mapping(nrel_api_key):
176+
"""Test that pvlib names can be passed in as parameters and get correctly
177177
reverse mapped to psm4 names"""
178178
data, meta = psm4.get_nsrdb_psm4_aggregated(
179179
LATITUDE, LONGITUDE, nrel_api_key, PVLIB_EMAIL, year='2019',
180-
time_step=60, attributes=['ghi', 'wind_speed'], leap_day=False,
180+
time_step=60, parameters=['ghi', 'wind_speed'], leap_day=False,
181181
map_variables=True)
182182
# Check that columns are in the correct order (GH1647)
183183
expected_columns = [

0 commit comments

Comments
 (0)