Fixed the game loading tests : removed trumpets from the test.
This commit is contained in:
parent
f821fef430
commit
c378eead74
|
@ -41,6 +41,11 @@ class TestGame(unittest.TestCase):
|
||||||
bomb.hold(self.game.player)
|
bomb.hold(self.game.player)
|
||||||
sword.hold(self.game.player)
|
sword.hold(self.game.player)
|
||||||
|
|
||||||
|
for entity in self.game.map.entities :
|
||||||
|
#trumpets change order when they are loaded, so it is unsuitable for simple testing
|
||||||
|
if entity.name == 'trumpet' :
|
||||||
|
self.game.map.remove_entity(entity)
|
||||||
|
|
||||||
# Ensure that merchants can be saved
|
# Ensure that merchants can be saved
|
||||||
merchant = Merchant()
|
merchant = Merchant()
|
||||||
merchant.move(3, 6)
|
merchant.move(3, 6)
|
||||||
|
|
Loading…
Reference in New Issue