Changed the behaviour of DisplayManager to match previous commit and fixed tests and bootstrap accordingly
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user