This commit is contained in:
SpudGunMan
2025-11-11 13:23:55 -08:00
parent 998d979d71
commit a7060bc516
2 changed files with 3 additions and 79 deletions
+3 -1
View File
@@ -174,7 +174,9 @@ class TestBot(unittest.TestCase):
self.assertIsInstance(haha, str)
def test_tictactoe_initial_and_move(self):
from games.tictactoe import tictactoe
from games.tictactoe import TicTacToe
# Create an instance (no display module required for tests)
tictactoe = TicTacToe(display_module=None)
user_id = "testuser"
# Start a new game (no move yet)
initial = tictactoe.play(user_id, "")