aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/fips/test_fips_mip.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fips/test_fips_mip.py')
-rw-r--r--tests/fips/test_fips_mip.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/fips/test_fips_mip.py b/tests/fips/test_fips_mip.py
index b8ac805f..58a11de0 100644
--- a/tests/fips/test_fips_mip.py
+++ b/tests/fips/test_fips_mip.py
@@ -7,7 +7,6 @@ from pathlib import Path
import pytest
import tests.data.fips.mip
-from requests import RequestException
from sec_certs.configuration import config
from sec_certs.dataset.fips import FIPSDataset
@@ -33,7 +32,7 @@ def test_mip_dataset_from_dumps(data_dir: Path):
assert len(dset) == 3
-@pytest.mark.xfail(reason="May fail due to network issues.")
+@pytest.mark.remote
def test_mip_flows():
dset = MIPDataset.from_web()
assert dset.compute_flows()
@@ -44,12 +43,13 @@ def test_mip_snapshot_from_dump(data_dump_path: Path):
@pytest.mark.parametrize("preferred_source", ["sec-certs", "origin"])
+@pytest.mark.remote
def test_from_web(preferred_source):
config.preferred_source_remote_datasets = preferred_source
assert MIPSnapshot.from_web()
-@pytest.mark.xfail(reason="May fail due to server errors.", raises=RequestException)
+@pytest.mark.remote
def test_from_nist():
assert MIPSnapshot.from_nist_web()