1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
From: Kurt Kremitzki <kkremitzki@debian.org>
Date: Sun, 10 Nov 2024 15:03:03 -0800
Subject: Disable tests requiring online resources
Last-Update: 2021-08-24
---
tests/test_design_climate.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/test_design_climate.py b/tests/test_design_climate.py
index 2f1acdb..9ebba4e 100644
--- a/tests/test_design_climate.py
+++ b/tests/test_design_climate.py
@@ -471,6 +471,7 @@ sample_data_random_station_1999 = """STN--- WBAN YEARMODA TEMP DEWP
"""
+@pytest.mark.skip(reason='requires online resource')
@pytest.mark.slow
@pytest.mark.online
def test_get_station_year_text():
@@ -485,6 +486,7 @@ def test_get_station_year_text():
get_station_year_text(712650, 99999, 19999999999)
+@pytest.mark.skip(reason='requires online resource')
@pytest.mark.slow
@pytest.mark.online
@pytest.mark.skipif(not has_geopy, reason='geopy is required')
|