Fix tests.
authorSimon Cross <hodgestar@gmail.com>
Sun, 11 May 2014 17:32:15 +0000 (19:32 +0200)
committerSimon Cross <hodgestar@gmail.com>
Sun, 11 May 2014 17:32:28 +0000 (19:32 +0200)
naja/tests/test_gameboard.py

index bd1a16c1c080c3ea95b5a075ed8f1cc2f6345ef2..a825544b6bf7727e3a8eb60dfa78dba241684080 100644 (file)
@@ -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()