File: fix-online-tests.patch

package info (click to toggle)
python-fluids 0.1.73-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,092 kB
  • sloc: python: 39,174; f90: 1,033; makefile: 48
file content (21 lines) | stat: -rw-r--r-- 570 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
Description: Disable tests requiring online resources
Author: Kurt Kremitzki <kkremitzki@gmail.com>
Last-Update: 2018-05-06
--- a/tests/test_design_climate.py
+++ b/tests/test_design_climate.py
@@ -42,6 +42,7 @@
     assert_allclose(cooling_degree_days(250, T_base=300), 50)
 
 
+@pytest.mark.skip(reason='requires online resource')
 @pytest.mark.slow
 @pytest.mark.online
 def test_month_average_temperature():
@@ -445,6 +446,7 @@
 '''
 
 
+@pytest.mark.skip(reason='requires online resource')
 @pytest.mark.slow
 @pytest.mark.online
 def test_get_station_year_text():