de-heath the tests
authorNeil <neil@dip.sun.ac.za>
Mon, 12 May 2014 09:05:44 +0000 (11:05 +0200)
committerNeil <neil@dip.sun.ac.za>
Mon, 12 May 2014 09:05:44 +0000 (11:05 +0200)
naja/tests/test_actions.py

index 69ed8819ed54c80be1d87e89fe6eef8f931f931b..5fe07be4892406f0185ad78153fd3f4b45da282e 100644 (file)
@@ -42,7 +42,7 @@ class TestActions(TestCase):
     def test_LoseHealthOrMSB_MSB_clear(self):
         board = self.make_board()
         state_before = board.export()
-        actions.LoseHeathOrMSB(set()).perform_action(board, None)
+        actions.LoseHealthOrMSB(set()).perform_action(board, None)
         state_after = board.export()
         self.assertEqual(state_after['health'], state_before['health'] - 1)
 
@@ -53,7 +53,7 @@ class TestActions(TestCase):
     def test_LoseHealthOrMSB_MSB_set(self):
         board = self.make_board(player_bits=[BITS.MSB])
         state_before = board.export()
-        actions.LoseHeathOrMSB(set()).perform_action(board, None)
+        actions.LoseHealthOrMSB(set()).perform_action(board, None)
         state_after = board.export()
         self.assertEqual(board.player.bits.check_bit(BITS.MSB), False)