Skip to content

Commit

Permalink
TST: update tests for reparam changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mj-will committed Oct 26, 2024
1 parent ad2fa64 commit e18e485
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_reparameterisations/test_reparam_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_reparameterisation_dict_add_external_reparam():

# Always return the version that needs to be loaded
with patch(
"nessai.reparameterisations.get_entry_points",
"nessai.reparameterisations.utils.get_entry_points",
return_value={"external_class": EntryPointClass},
) as mock_get_entry_points:
reparam_dict.add_external_reparameterisations(
Expand All @@ -76,7 +76,7 @@ def test_reparameterisation_dict_add_external_reparam_invalid_type():
# Always return the version that needs to be loaded
with (
patch(
"nessai.reparameterisations.get_entry_points",
"nessai.reparameterisations.utils.get_entry_points",
return_value={"external_class": EntryPointClass},
),
pytest.raises(
Expand All @@ -103,7 +103,7 @@ def test_reparameterisation_dict_add_external_reparam_name_conflict():
# Always return the version that needs to be loaded
with (
patch(
"nessai.reparameterisations.get_entry_points",
"nessai.reparameterisations.utils.get_entry_points",
return_value={"external_class": EntryPointClass},
),
pytest.raises(
Expand Down

0 comments on commit e18e485

Please sign in to comment.