Skip to content

Commit

Permalink
make test requirements in coolest explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
sibirrer committed Nov 22, 2024
1 parent 6ecb3e0 commit 8a83210
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_coolest_slsim_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,19 +112,19 @@ def test_update_coolest_from_slsim_and_create_slsim_from_coolest(
)
npt.assert_almost_equal(
slsim_from_updated_coolest[1]["kwargs_lens"][2]["kappa"],
expected_result[1]["kwargs_lens"][2]["kappa"],
expected_result[1]["kwargs_lens"][2]["kappa"], decimal=6
)
npt.assert_almost_equal(
slsim_from_updated_coolest[1]["kwargs_source"][0]["magnitude"],
expected_result[1]["kwargs_source"][0]["magnitude"],
expected_result[1]["kwargs_source"][0]["magnitude"], decimal=6
)
npt.assert_almost_equal(
slsim_from_updated_coolest[1]["kwargs_source"][1]["magnitude"],
expected_result[1]["kwargs_source"][1]["magnitude"],
expected_result[1]["kwargs_source"][1]["magnitude"], decimal=6
)
npt.assert_almost_equal(
slsim_from_updated_coolest[1]["kwargs_ps"][0]["magnitude"],
[expected_result[1]["kwargs_ps"][0]["magnitude"]],
[expected_result[1]["kwargs_ps"][0]["magnitude"]], decimal=4
)

os.remove(test_path + "coolest_template_update.json")

0 comments on commit 8a83210

Please sign in to comment.