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
|
Description: Disable tests requiring online resources
Author: Kurt Kremitzki <kkremitzki@debian.org>
Last-Update: 2021-08-24
--- a/tests/test_design_climate.py
+++ b/tests/test_design_climate.py
@@ -463,6 +463,7 @@
'''
+@pytest.mark.skip(reason='requires online resource')
@pytest.mark.slow
@pytest.mark.online
def test_get_station_year_text():
@@ -477,9 +478,10 @@
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')
def test_geocode():
latlon = geocode('Fredericton, NB')
- assert_close(latlon, (45.966425, -66.645813), rtol=5e-4)
\ No newline at end of file
+ assert_close(latlon, (45.966425, -66.645813), rtol=5e-4)
|