From 06a414a1c7d82e530665d4e5e69d45aadd7e1d7f Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sun, 11 May 2014 19:32:15 +0200 Subject: [PATCH] Fix tests. --- naja/tests/test_gameboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.34.1