Skip to content

Commit be23a6d

Browse files
committed
Use demo_url in test
1 parent 844473b commit be23a6d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/iotools/test_meteonorm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,11 +321,12 @@ def test_get_meteonorm_tmy(
321321
@fail_on_pvlib_version('0.17.0')
322322
@pytest.mark.remote_data
323323
@pytest.mark.flaky(reruns=RERUNS, reruns_delay=RERUNS_DELAY)
324-
def test_get_meteonorm_tmy_data_version_deprecation(demo_api_key):
324+
def test_get_meteonorm_tmy_data_version_deprecation(demo_url, demo_api_key):
325325
with pytest.warns(pvlibDeprecationWarning):
326326
_ = pvlib.iotools.get_meteonorm_tmy(
327327
latitude=50,
328328
longitude=10,
329329
api_key=demo_api_key,
330330
data_version="latest",
331+
url=demo_url
331332
)

0 commit comments

Comments
 (0)