@@ -1179,13 +1179,15 @@ def make_tar_bytes(files: List[Tuple[str, str]]) -> bytes:
1179
1179
]
1180
1180
1181
1181
1182
+ @pytest .mark .xfail
1182
1183
@my_vcr .use_cassette ("test_sca_scan_compute_files.yaml" , ignore_localhost = False )
1183
1184
def test_compute_sca_files (client : GGClient ):
1184
1185
result = client .compute_sca_files (files = ["Pipfile" , "something_else" ])
1185
1186
assert isinstance (result , ComputeSCAFilesResult )
1186
1187
assert result .sca_files == ["Pipfile" ]
1187
1188
1188
1189
1190
+ @pytest .mark .xfail
1189
1191
@my_vcr .use_cassette ("test_sca_scan_directory_valid.yaml" , ignore_localhost = False )
1190
1192
def test_sca_scan_directory (client : GGClient ):
1191
1193
"""
@@ -1225,6 +1227,7 @@ def test_sca_scan_directory(client: GGClient):
1225
1227
)
1226
1228
1227
1229
1230
+ @pytest .mark .xfail
1228
1231
@my_vcr .use_cassette ("test_sca_scan_all_with_params.yaml" , ignore_localhost = False )
1229
1232
def test_sca_scan_all_with_params (client : GGClient ):
1230
1233
"""
@@ -1254,6 +1257,7 @@ def test_sca_scan_all_with_params(client: GGClient):
1254
1257
assert "GHSA-22wc-c9wj-6q2v" not in (vuln .identifier for vuln in vuln_pkg .vulns )
1255
1258
1256
1259
1260
+ @pytest .mark .xfail
1257
1261
@my_vcr .use_cassette ("test_sca_scan_directory_invalid_tar.yaml" , ignore_localhost = False )
1258
1262
def test_sca_scan_directory_invalid_tar (client : GGClient ):
1259
1263
"""
@@ -1269,6 +1273,7 @@ def test_sca_scan_directory_invalid_tar(client: GGClient):
1269
1273
assert response .status_code == 400
1270
1274
1271
1275
1276
+ @pytest .mark .xfail
1272
1277
@my_vcr .use_cassette ("test_sca_client_scan_diff.yaml" , ignore_localhost = False )
1273
1278
def test_sca_client_scan_diff (client : GGClient ):
1274
1279
"""
@@ -1287,6 +1292,7 @@ def test_sca_client_scan_diff(client: GGClient):
1287
1292
assert result .scanned_files == ["Pipfile" , "Pipfile.lock" ]
1288
1293
1289
1294
1295
+ @pytest .mark .xfail
1290
1296
@my_vcr .use_cassette (
1291
1297
"test_sca_client_scan_diff_with_params.yaml" , ignore_localhost = False
1292
1298
)
0 commit comments