diff --git a/squirrelbattle/tests/game_test.py b/squirrelbattle/tests/game_test.py index 77b63c3..27c8ca8 100644 --- a/squirrelbattle/tests/game_test.py +++ b/squirrelbattle/tests/game_test.py @@ -540,6 +540,8 @@ class TestGame(unittest.TestCase): self.game.handle_key_pressed(KeyValues.UP) self.assertEqual(self.game.store_menu.position, 1) + self.game.player.hazel = 0x7ffff42ff + # The second item is not a heart merchant.inventory[1] = Sword() # Buy the second item by clicking on it