File: fix-online-tests.patch

package info (click to toggle)
python-fluids 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 13,108 kB
  • sloc: python: 59,520; f90: 481; lisp: 342; ansic: 337; cpp: 228; ruby: 145; haskell: 118; perl: 106; makefile: 59; javascript: 49
file content (29 lines) | stat: -rw-r--r-- 918 bytes parent folder | download | duplicates (2)
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')