Changed the behaviour of DisplayManager to match previous commit and fixed tests and bootstrap accordingly

This commit is contained in:
nicomarg
2020-11-11 23:56:08 +01:00
parent b0292c05b2
commit 92ab9ae075
3 changed files with 9 additions and 2 deletions

View File

@ -18,7 +18,7 @@ class TestGame(unittest.TestCase):
self.game = Game()
self.game.new_game()
display = DisplayManager(None, self.game)
self.game.display_refresh = display.refresh
self.game.display_actions = display.handle_display_action
def test_load_game(self) -> None:
self.assertRaises(NotImplementedError, Game.load_game, "game.save")