Skip to content

Commit

Permalink
fix message change breaking a test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ankona committed Aug 19, 2024
1 parent d423181 commit 0611498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_node_prioritizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def test_node_prioritizer_empty_subheap_next_w_hosts() -> None:
with pytest.raises(ValueError) as ex:
p.next(hosts=hostnames)

assert "No host names provided" == ex.value.args[0]
assert "No hostnames provided" == ex.value.args[0]


def test_node_prioritizer_empty_subheap_next_n_w_hosts() -> None:
Expand All @@ -504,7 +504,7 @@ def test_node_prioritizer_empty_subheap_next_n_w_hosts() -> None:
with pytest.raises(ValueError) as ex:
p.next_n(num_requested, hosts=hostnames)

assert "No host names provided" == ex.value.args[0]
assert "No hostnames provided" == ex.value.args[0]


@pytest.mark.parametrize("num_requested", [-100, -1, 0])
Expand Down

0 comments on commit 0611498

Please sign in to comment.