Skip to content

Commit

Permalink
MAINT: cherry pick fix from 372dfbd
Browse files Browse the repository at this point in the history
  • Loading branch information
mj-will committed Aug 8, 2024
1 parent ed688d1 commit f57d392
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_experimental/test_flowmodel/test_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand All @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f57d392

Please sign in to comment.