@@ -45,6 +45,8 @@ def test_get_nasa_power(data_index, ghi_series):
4545 check_freq = False , check_names = False )
4646
4747
48+ @pytest .mark .remote_data
49+ @pytest .mark .flaky (reruns = RERUNS , reruns_delay = RERUNS_DELAY )
4850def test_get_nasa_power_pvlib_params_naming (data_index , ghi_series ):
4951 data , meta = pvlib .iotools .get_nasa_power (latitude = 44.76 ,
5052 longitude = 7.64 ,
@@ -58,6 +60,8 @@ def test_get_nasa_power_pvlib_params_naming(data_index, ghi_series):
5860 check_freq = False )
5961
6062
63+ @pytest .mark .remote_data
64+ @pytest .mark .flaky (reruns = RERUNS , reruns_delay = RERUNS_DELAY )
6165def test_get_nasa_power_map_variables (data_index ):
6266 # Check that variables are mapped by default to pvlib names
6367 data , meta = pvlib .iotools .get_nasa_power (latitude = 44.76 ,
@@ -72,6 +76,8 @@ def test_get_nasa_power_map_variables(data_index):
7276 assert meta ['altitude' ] == 705.88
7377
7478
79+ @pytest .mark .remote_data
80+ @pytest .mark .flaky (reruns = RERUNS , reruns_delay = RERUNS_DELAY )
7581def test_get_nasa_power_wrong_parameter_name (data_index ):
7682 # Test if HTTPError is raised if a wrong parameter name is asked
7783 with pytest .raises (HTTPError , match = r"ALLSKY_SFC_SW_DLN" ):
@@ -82,6 +88,8 @@ def test_get_nasa_power_wrong_parameter_name(data_index):
8288 parameters = ['ALLSKY_SFC_SW_DLN' ])
8389
8490
91+ @pytest .mark .remote_data
92+ @pytest .mark .flaky (reruns = RERUNS , reruns_delay = RERUNS_DELAY )
8593def test_get_nasa_power_duplicate_parameter_name (data_index ):
8694 # Test if HTTPError is raised if a duplicate parameter is asked
8795 with pytest .raises (HTTPError , match = r"ALLSKY_SFC_SW_DWN" ):
0 commit comments