21
21
test_env .test_data_dir = os .path .join (os .path .dirname (__file__ ), "data" )
22
22
23
23
24
+ @pytest .mark .online
24
25
def test_api_with_specifier ():
25
26
expected_file = test_env .get_test_loc ("test-api-expected.json" , must_exist = False )
26
27
results = resolver_api (
@@ -31,6 +32,7 @@ def test_api_with_specifier():
31
32
check_data_results (results = results .to_dict (generic_paths = True ), expected_file = expected_file )
32
33
33
34
35
+ @pytest .mark .online
34
36
def test_api_with_specifier_pdt ():
35
37
expected_file = test_env .get_test_loc ("test-api-pdt-expected.json" , must_exist = False )
36
38
results = resolver_api (
@@ -41,7 +43,7 @@ def test_api_with_specifier_pdt():
41
43
)
42
44
check_data_results (results = results .to_dict (generic_paths = True ), expected_file = expected_file )
43
45
44
-
46
+ @ pytest . mark . online
45
47
def test_api_with_requirement_file ():
46
48
expected_file = test_env .get_test_loc ("test-api-with-requirement-file.json" , must_exist = False )
47
49
results = resolver_api (
@@ -52,6 +54,7 @@ def test_api_with_requirement_file():
52
54
check_data_results (results = results .to_dict (generic_paths = True ), expected_file = expected_file )
53
55
54
56
57
+ @pytest .mark .online
55
58
def test_api_with_prefer_source ():
56
59
expected_file = test_env .get_test_loc ("test-api-with-prefer-source.json" , must_exist = False )
57
60
results = resolver_api (
@@ -63,6 +66,7 @@ def test_api_with_prefer_source():
63
66
check_data_results (results = results .to_dict (generic_paths = True ), expected_file = expected_file )
64
67
65
68
69
+ @pytest .mark .online
66
70
def test_api_with_recursive_requirement_file ():
67
71
requirement_file = test_env .get_test_loc ("recursive_requirements/r.txt" )
68
72
expected_file = test_env .get_test_loc (
@@ -96,6 +100,7 @@ def test_api_with_wrong_pyver():
96
100
resolver_api (specifiers = ["flask==2.1.2" ], python_version = "3.14" , operating_system = "linux" )
97
101
98
102
103
+ @pytest .mark .online
99
104
def test_api_with_python_311 ():
100
105
expected_file = test_env .get_test_loc ("test-api-with-python-311.json" , must_exist = False )
101
106
results = resolver_api (
@@ -107,6 +112,7 @@ def test_api_with_python_311():
107
112
check_data_results (results = results .to_dict (generic_paths = True ), expected_file = expected_file )
108
113
109
114
115
+ @pytest .mark .online
110
116
def test_api_with_lief_python_312 ():
111
117
expected_file = test_env .get_test_loc ("test-api-with-lief-python-312.json" , must_exist = False )
112
118
results = resolver_api (
@@ -118,6 +124,7 @@ def test_api_with_lief_python_312():
118
124
check_data_results (results = results .to_dict (generic_paths = True ), expected_file = expected_file )
119
125
120
126
127
+ @pytest .mark .online
121
128
def test_api_with_partial_setup_py ():
122
129
expected_file = test_env .get_test_loc ("test-api-with-partial-setup-py.json" , must_exist = False )
123
130
results = resolver_api (
0 commit comments