Skip to content

Commit ad43f67

Browse files
authored
test: disable failing tests while cache is broken (#5197)
* test: disable test using OSV while cache is broken * test: disable more failing tests Signed-off-by: Terri Oda <[email protected]>
1 parent 9f53cd2 commit ad43f67

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

test/test_csv2cve.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
class TestCSV2CVE:
1414
@pytest.mark.asyncio
15+
@pytest.mark.skip(reason="Temporarily disabled due to data issues.")
1516
async def test_csv2cve_valid_file(self, caplog):
1617
file_path = join(dirname(__file__), "csv", "triage.csv")
1718

test/test_exploits.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99

1010
class TestExploitScanner:
11+
@pytest.mark.skip(reason="Temporarily disabled due to data issues.")
1112
@pytest.mark.parametrize(
1213
"check_exploits, exploits_list, product_info, triage_info, expected_result",
1314
(

test/test_source_purl2cpe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ async def test_fetch_cves(self):
3535
def db_paths(self):
3636
return [self.purl2cpe.purl2cpe_path, self.local_path]
3737

38+
@pytest.mark.skip(reason="Problems with OSV in github cache, disabling temporarily")
3839
@pytest.mark.parametrize(
3940
"index, skipif", [(0, not EXTERNAL_SYSTEM()), (1, EXTERNAL_SYSTEM())]
4041
)

test/test_vex.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ class TestTriage:
267267
TEST_SBOM = str(SBOM_PATH / "test_triage_cyclonedx_sbom.json")
268268
TEST_VEX = str(VEX_PATH / "test_triage_cyclonedx_vex.json")
269269

270+
@pytest.mark.skip(reason="Temporarily disabled due to data issues.")
270271
def test_triage(self):
271272
"""Test triage functionality"""
272273
subprocess.run(
@@ -297,6 +298,7 @@ def test_triage(self):
297298
assert output["remarks"] == "NewFound"
298299
Path(OUTPUT_JSON).unlink()
299300

301+
@pytest.mark.skip(reason="Temporarily disabled due to data issues.")
300302
def test_filter_triage(self):
301303
"""Test filter triage functionality"""
302304
subprocess.run(

0 commit comments

Comments
 (0)