Skip to content

Commit 5462ebd

Browse files
committed
fix(test_one_emoji): use OneEmojiError
1 parent ef96b89 commit 5462ebd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_ttt/test_entities/test_core/test_game.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
NotCurrentPlayerError,
1515
NotPlayerError,
1616
NotStandardBoardError,
17+
OneEmojiError,
1718
OnePlayerError,
18-
SameRandomEmojiError,
1919
)
2020
from ttt.entities.core.player.account import Account
2121
from ttt.entities.core.player.player import Player
@@ -192,7 +192,7 @@ def test_one_emoji(
192192
emoji1: Emoji,
193193
standard_board: Board,
194194
) -> None:
195-
with raises(SameRandomEmojiError):
195+
with raises(OneEmojiError):
196196
Game(
197197
UUID(int=1),
198198
player1,

0 commit comments

Comments
 (0)