From aceb0d301274962289d62a41421e3cf0c8738053 Mon Sep 17 00:00:00 2001
From: Sébastien Dailly <sebastien@chimrod.com>
Date: Sun, 14 Sep 2014 12:23:55 +0200
Subject: Extract initial player from goban

---
 qml/python/tests/test_game.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'qml/python/tests')

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)
+
-- 
cgit v1.2.3