diff --git a/tests/test_experimental/test_flowmodel/test_clustering.py b/tests/test_experimental/test_flowmodel/test_clustering.py index d72c5d6d..372a83cd 100644 --- a/tests/test_experimental/test_flowmodel/test_clustering.py +++ b/tests/test_experimental/test_flowmodel/test_clustering.py @@ -9,6 +9,7 @@ def cfm(): return create_autospec(CFM) +@pytest.mark.requires("faiss") def test_init(cfm, tmp_path, caplog): caplog.set_level("DEBUG") flow_config = {} @@ -30,6 +31,7 @@ def test_init(cfm, tmp_path, caplog): assert "faiss version" in str(caplog.text) +@pytest.mark.requires("faiss") @pytest.mark.integration_test def test_clustering_integration(tmp_path, caplog): caplog.set_level("DEBUG") diff --git a/tests/test_experimental/test_sampling/test_starndard_sampling.py b/tests/test_experimental/test_sampling/test_standard_sampling.py similarity index 95% rename from tests/test_experimental/test_sampling/test_starndard_sampling.py rename to tests/test_experimental/test_sampling/test_standard_sampling.py index 3ea37404..6670c7f8 100644 --- a/tests/test_experimental/test_sampling/test_starndard_sampling.py +++ b/tests/test_experimental/test_sampling/test_standard_sampling.py @@ -4,6 +4,7 @@ from nessai.experimental.proposal.clustering import ClusteringFlowProposal +@pytest.mark.requires("faiss") @pytest.mark.slow_integration_test def test_sampling_with_clusteringflowproposal(integration_model, tmp_path): fp = FlowSampler(