From: Simon Cross Date: Sun, 11 May 2014 17:32:15 +0000 (+0200) Subject: Fix tests. X-Git-Tag: 0.1~392^2~7 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=06a414a1c7d82e530665d4e5e69d45aadd7e1d7f;p=naja.git Fix tests. --- diff --git a/naja/tests/test_gameboard.py b/naja/tests/test_gameboard.py index bd1a16c..a825544 100644 --- a/naja/tests/test_gameboard.py +++ b/naja/tests/test_gameboard.py @@ -7,7 +7,7 @@ from naja import actions class TestGameBoard(TestCase): def test_export_new_board(self): - board = GameBoard.new_game(4, 4, []) + board = GameBoard.new_game([]) self.assertEqual(board.export(), { 'max_health': 4, 'health': 4, @@ -19,7 +19,7 @@ class TestGameBoard(TestCase): }) def test_lose_health(self): - board = GameBoard.new_game(4, 4, []) + board = GameBoard.new_game([]) self.assertEqual(board.health, 4) state_1 = board.export()