Update expected test string based on changes to exception message.

pull/3345/head
derekpierre 2023-11-15 10:03:06 -05:00 committed by Derek Pierre
parent 663cd97eb0
commit fb9977ab56
1 changed files with 2 additions and 1 deletions

View File

@ -233,7 +233,8 @@ def test_ursula_ritualist(
time_in_past = mock_coordinator_agent.blockchain.get_blocktime() - 1
with patch.object(ritual, "end_timestamp", time_in_past):
with pytest.raises(
Ursula.NotEnoughUrsulas, match=f"Ritual {ritual_id} is expired"
Ursula.NotEnoughUrsulas,
match=f"Ritual #{ritual_id} is not active",
):
bob.threshold_decrypt(
threshold_message_kit=threshold_message_kit,