Fixed the game loading tests : removed trumpets from the test.
This commit is contained in:
		@@ -41,6 +41,11 @@ 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, so it is unsuitable for simple testing
 | 
			
		||||
            if entity.name == 'trumpet' :
 | 
			
		||||
                self.game.map.remove_entity(entity)
 | 
			
		||||
 | 
			
		||||
        # Ensure that merchants can be saved
 | 
			
		||||
        merchant = Merchant()
 | 
			
		||||
        merchant.move(3, 6)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user