Skip to content

Commit

Permalink
test: check plots exist
Browse files Browse the repository at this point in the history
  • Loading branch information
mj-will committed Dec 13, 2023
1 parent 1fe42ca commit 992dd43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_sampling/test_standard_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,10 @@ def test_sampling_with_plotting(integration_model, tmpdir):
nlive=100,
plot=True,
proposal_plots=True,
stopping=1.0,
)
fs.run(plot=True)
assert os.path.exists(os.path.join(output, "proposal", "pool_0.png"))
assert os.path.exists(os.path.join(output, "proposal", "pool_0_log_q.png"))


@pytest.mark.slow_integration_test
Expand Down

0 comments on commit 992dd43

Please sign in to comment.