Skip to content

Commit 4e99ddc

Browse files
authored
Skip failing SRML tests (#1921)
1 parent 73cff15 commit 4e99ddc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pvlib/tests/iotools/test_srml.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def test_read_srml():
1414
srml.read_srml(srml_testfile)
1515

1616

17+
@pytest.mark.skip(reason="SRML server is undergoing maintenance as of 12-2023")
1718
@pytest.mark.remote_data
1819
@pytest.mark.flaky(reruns=RERUNS, reruns_delay=RERUNS_DELAY)
1920
def test_read_srml_remote():
@@ -46,6 +47,7 @@ def test_read_srml_nans_exist():
4647
assert data['dni_0_flag'].iloc[1119] == 99
4748

4849

50+
@pytest.mark.skip(reason="SRML server is undergoing maintenance as of 12-2023")
4951
@pytest.mark.parametrize('url,year,month', [
5052
('http://solardat.uoregon.edu/download/Archive/EUPO1801.txt',
5153
2018, 1),
@@ -76,6 +78,7 @@ def test__map_columns(column, expected):
7678
assert srml._map_columns(column) == expected
7779

7880

81+
@pytest.mark.skip(reason="SRML server is undergoing maintenance as of 12-2023")
7982
@pytest.mark.remote_data
8083
@pytest.mark.flaky(reruns=RERUNS, reruns_delay=RERUNS_DELAY)
8184
def test_get_srml():
@@ -86,6 +89,7 @@ def test_get_srml():
8689
assert_frame_equal(file_data, requested)
8790

8891

92+
@pytest.mark.skip(reason="SRML server is undergoing maintenance as of 12-2023")
8993
@fail_on_pvlib_version('0.11')
9094
@pytest.mark.remote_data
9195
@pytest.mark.flaky(reruns=RERUNS, reruns_delay=RERUNS_DELAY)
@@ -97,6 +101,7 @@ def test_read_srml_month_from_solardat():
97101
assert file_data.equals(requested)
98102

99103

104+
@pytest.mark.skip(reason="SRML server is undergoing maintenance as of 12-2023")
100105
@fail_on_pvlib_version('0.11')
101106
@pytest.mark.remote_data
102107
@pytest.mark.flaky(reruns=RERUNS, reruns_delay=RERUNS_DELAY)
@@ -112,6 +117,7 @@ def test_15_minute_dt_index():
112117
assert (data.index[3::4].minute == 45).all()
113118

114119

120+
@pytest.mark.skip(reason="SRML server is undergoing maintenance as of 12-2023")
115121
@fail_on_pvlib_version('0.11')
116122
@pytest.mark.remote_data
117123
@pytest.mark.flaky(reruns=RERUNS, reruns_delay=RERUNS_DELAY)
@@ -127,6 +133,7 @@ def test_hourly_dt_index():
127133
assert (data.index.minute == 0).all()
128134

129135

136+
@pytest.mark.skip(reason="SRML server is undergoing maintenance as of 12-2023")
130137
@pytest.mark.remote_data
131138
@pytest.mark.flaky(reruns=RERUNS, reruns_delay=RERUNS_DELAY)
132139
def test_get_srml_hourly():
@@ -137,6 +144,7 @@ def test_get_srml_hourly():
137144
assert_index_equal(data.index, expected_index)
138145

139146

147+
@pytest.mark.skip(reason="SRML server is undergoing maintenance as of 12-2023")
140148
@pytest.mark.remote_data
141149
@pytest.mark.flaky(reruns=RERUNS, reruns_delay=RERUNS_DELAY)
142150
def test_get_srml_minute():
@@ -154,6 +162,7 @@ def test_get_srml_minute():
154162
assert meta['filenames'] == ['EUPO1801.txt']
155163

156164

165+
@pytest.mark.skip(reason="SRML server is undergoing maintenance as of 12-2023")
157166
@pytest.mark.remote_data
158167
@pytest.mark.flaky(reruns=RERUNS, reruns_delay=RERUNS_DELAY)
159168
def test_get_srml_nonexisting_month_warning():

0 commit comments

Comments
 (0)