Skip to content

Commit

Permalink
minor: renamed test
Browse files Browse the repository at this point in the history
  • Loading branch information
omry committed Feb 26, 2021
1 parent 90d64e3 commit d46d058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_base_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def test_get_node(cfg: Any, key: Any, expected: Any) -> None:
pytest.param([10, "???", 30], slice(1, 2), id="list_slice"),
],
)
def test_get_node_throw_on_missing_value(cfg: Any, key: Any) -> None:
def test_string_interpolation_with_readonly_parent(cfg: Any, key: Any) -> None:
cfg = OmegaConf.create(cfg)
with pytest.raises(MissingMandatoryValue, match="Missing mandatory value"):
cfg._get_node(key, throw_on_missing_value=True)

0 comments on commit d46d058

Please sign in to comment.