6
6
7
7
from ...atomic import AtomicLineList
8
8
9
+ pytestmark = pytest .mark .remote_data
10
+
9
11
10
- @pytest .mark .remote_data
11
12
def test_default_form_values ():
12
13
default_response = AtomicLineList ._request (
13
14
method = "GET" , url = AtomicLineList .FORM_URL ,
@@ -28,7 +29,6 @@ def test_default_form_values():
28
29
'wave' : u'Angstrom' }
29
30
30
31
31
- @pytest .mark .remote_data
32
32
def test_query_with_default_params ():
33
33
table = AtomicLineList .query_object (cache = False )
34
34
assert isinstance (table , Table )
@@ -43,7 +43,6 @@ def test_query_with_default_params():
43
43
1.02916 Zn XXX E1 1*-6* 1-6 1/2-* 1.33E+12 0.00 - 97174700.00''' .strip ()
44
44
45
45
46
- @pytest .mark .remote_data
47
46
def test_query_with_wavelength_params ():
48
47
result = AtomicLineList .query_object (
49
48
wavelength_range = (15 * u .nm , 200 * u .Angstrom ),
@@ -66,15 +65,13 @@ def test_query_with_wavelength_params():
66
65
'0.00 - 502481.80' ]))
67
66
68
67
69
- @pytest .mark .remote_data
70
68
def test_empty_result_set ():
71
69
result = AtomicLineList .query_object (wavelength_accuracy = 0 , cache = False )
72
70
assert isinstance (result , Table )
73
71
assert not result
74
72
assert len (result ) == 0
75
73
76
74
77
- @pytest .mark .remote_data
78
75
def test_lower_upper_ranges ():
79
76
result = AtomicLineList .query_object (
80
77
lower_level_energy_range = u .Quantity ((600 * u .cm ** (- 1 ), 1000 * u .cm ** (- 1 ))),
0 commit comments