Give more hazels to the player when testing the interaction with merchants
This commit is contained in:
parent
777668848e
commit
48318a91fe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue