summaryrefslogtreecommitdiff
path: root/qml/python/tests/test_game.py
diff options
context:
space:
mode:
Diffstat (limited to 'qml/python/tests/test_game.py')
-rw-r--r--qml/python/tests/test_game.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/qml/python/tests/test_game.py b/qml/python/tests/test_game.py
index 737e55b..31ff355 100644
--- a/qml/python/tests/test_game.py
+++ b/qml/python/tests/test_game.py
@@ -23,7 +23,7 @@ class TestBoard(unittest.TestCase):
def test_createTree(self):
- def fun(pos):
+ def fun(pos, action):
return pos
with open("python/tests/test.sgf") as f:
@@ -73,3 +73,5 @@ class TestBoard(unittest.TestCase):
currentgame.normalize()
+ self.assertEqual('W', currentgame.current_player)
+