The broken test is mysteriously working now
This commit is contained in:
parent
d49c138257
commit
093c105120
@ -155,7 +155,7 @@ class Game:
|
||||
# Wait for the direction of the friendly entity
|
||||
self.waiting_for_friendly_key = True
|
||||
elif key == KeyValues.WAIT:
|
||||
self.map.tick()
|
||||
self.map.tick(self.player)
|
||||
elif key == KeyValues.LADDER:
|
||||
self.handle_ladder()
|
||||
|
||||
|
@ -46,11 +46,6 @@ class TestGame(unittest.TestCase):
|
||||
bomb.hold(self.game.player)
|
||||
sword.hold(self.game.player)
|
||||
|
||||
for entity in self.game.map.entities:
|
||||
# trumpets change order when they are loaded, this breaks the test.
|
||||
if entity.name == 'trumpet':
|
||||
self.game.map.remove_entity(entity)
|
||||
|
||||
# Ensure that merchants can be saved
|
||||
merchant = Merchant()
|
||||
merchant.move(3, 6)
|
||||
|
Loading…
Reference in New Issue
Block a user