Skip to content

Commit 998d74e

Browse files
authored
Merge pull request #134 from GitGuardian/severine/skip-sca-tests
chore: skip SCA tests
2 parents 0dbb878 + 05ff4b7 commit 998d74e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_client.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,13 +1179,15 @@ def make_tar_bytes(files: List[Tuple[str, str]]) -> bytes:
11791179
]
11801180

11811181

1182+
@pytest.mark.xfail
11821183
@my_vcr.use_cassette("test_sca_scan_compute_files.yaml", ignore_localhost=False)
11831184
def test_compute_sca_files(client: GGClient):
11841185
result = client.compute_sca_files(files=["Pipfile", "something_else"])
11851186
assert isinstance(result, ComputeSCAFilesResult)
11861187
assert result.sca_files == ["Pipfile"]
11871188

11881189

1190+
@pytest.mark.xfail
11891191
@my_vcr.use_cassette("test_sca_scan_directory_valid.yaml", ignore_localhost=False)
11901192
def test_sca_scan_directory(client: GGClient):
11911193
"""
@@ -1225,6 +1227,7 @@ def test_sca_scan_directory(client: GGClient):
12251227
)
12261228

12271229

1230+
@pytest.mark.xfail
12281231
@my_vcr.use_cassette("test_sca_scan_all_with_params.yaml", ignore_localhost=False)
12291232
def test_sca_scan_all_with_params(client: GGClient):
12301233
"""
@@ -1254,6 +1257,7 @@ def test_sca_scan_all_with_params(client: GGClient):
12541257
assert "GHSA-22wc-c9wj-6q2v" not in (vuln.identifier for vuln in vuln_pkg.vulns)
12551258

12561259

1260+
@pytest.mark.xfail
12571261
@my_vcr.use_cassette("test_sca_scan_directory_invalid_tar.yaml", ignore_localhost=False)
12581262
def test_sca_scan_directory_invalid_tar(client: GGClient):
12591263
"""
@@ -1269,6 +1273,7 @@ def test_sca_scan_directory_invalid_tar(client: GGClient):
12691273
assert response.status_code == 400
12701274

12711275

1276+
@pytest.mark.xfail
12721277
@my_vcr.use_cassette("test_sca_client_scan_diff.yaml", ignore_localhost=False)
12731278
def test_sca_client_scan_diff(client: GGClient):
12741279
"""
@@ -1287,6 +1292,7 @@ def test_sca_client_scan_diff(client: GGClient):
12871292
assert result.scanned_files == ["Pipfile", "Pipfile.lock"]
12881293

12891294

1295+
@pytest.mark.xfail
12901296
@my_vcr.use_cassette(
12911297
"test_sca_client_scan_diff_with_params.yaml", ignore_localhost=False
12921298
)

0 commit comments

Comments
 (0)