aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJ08nY2025-02-14 23:39:29 +0100
committerJ08nY2025-02-14 23:40:15 +0100
commit8a264ee81e9bcf72d3753c1865f45445bac96a81 (patch)
tree13f76c9ff37d1672858590ad99bc002423e223f1 /tests
parent974adbc076bd1b4779e0d644c595a14ce83f1698 (diff)
downloadsec-certs-8a264ee81e9bcf72d3753c1865f45445bac96a81.tar.gz
sec-certs-8a264ee81e9bcf72d3753c1865f45445bac96a81.tar.zst
sec-certs-8a264ee81e9bcf72d3753c1865f45445bac96a81.zip
Protect from_web with xfails.
Diffstat (limited to 'tests')
-rw-r--r--tests/cc/test_cc_dataset.py1
-rw-r--r--tests/cc/test_cc_maintenance_updates.py1
-rw-r--r--tests/cc/test_cc_protection_profiles.py1
-rw-r--r--tests/fips/test_fips_iut.py1
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/cc/test_cc_dataset.py b/tests/cc/test_cc_dataset.py
index 69d73295..cba06a64 100644
--- a/tests/cc/test_cc_dataset.py
+++ b/tests/cc/test_cc_dataset.py
@@ -78,6 +78,7 @@ def test_download_and_convert_pdfs(toy_dataset: CCDataset, data_dir: Path):
@pytest.mark.slow
+@pytest.mark.xfail(reason="May fail due to network issues.")
def test_from_web():
dset = CCDataset.from_web()
assert len(dset) > 6000
diff --git a/tests/cc/test_cc_maintenance_updates.py b/tests/cc/test_cc_maintenance_updates.py
index 176a9244..683c8644 100644
--- a/tests/cc/test_cc_maintenance_updates.py
+++ b/tests/cc/test_cc_maintenance_updates.py
@@ -78,6 +78,7 @@ def test_to_pandas(mu_dset: CCDatasetMaintenanceUpdates):
@pytest.mark.slow
+@pytest.mark.xfail(reason="May fail due to network issues.")
def test_from_web():
dset = CCDatasetMaintenanceUpdates.from_web()
assert dset is not None
diff --git a/tests/cc/test_cc_protection_profiles.py b/tests/cc/test_cc_protection_profiles.py
index e231d87c..4cf61fd0 100644
--- a/tests/cc/test_cc_protection_profiles.py
+++ b/tests/cc/test_cc_protection_profiles.py
@@ -72,6 +72,7 @@ def test_get_certs_from_web(pp_data_dir: Path, toy_pp_dataset: ProtectionProfile
@pytest.mark.slow
+@pytest.mark.xfail(reason="May fail due to network issues.")
def test_from_web():
dset = ProtectionProfileDataset.from_web()
assert len(dset) > 400
diff --git a/tests/fips/test_fips_iut.py b/tests/fips/test_fips_iut.py
index cdd8c10d..17d15dc8 100644
--- a/tests/fips/test_fips_iut.py
+++ b/tests/fips/test_fips_iut.py
@@ -33,6 +33,7 @@ def test_iut_dataset_from_dumps(data_dir: Path):
assert len(dset) == 2
+@pytest.mark.xfail(reason="May fail due to network issues.")
def test_iut_dataset_from_web():
assert IUTDataset.from_web()