diff --git a/src/diana/tests/sgfParser.py b/src/diana/tests/sgfParser.py --- a/src/diana/tests/sgfParser.py +++ b/src/diana/tests/sgfParser.py @@ -2,7 +2,7 @@ import unittest from unittest import TestCase import os -from ..sgfParser import Collection +from sgfParser import Collection dataDir=os.path.join(os.path.dirname(__file__), "data") @@ -15,5 +15,9 @@ class TestCollection(TestCase): with open(os.path.join(dataDir, "simple.sgf")) as f: Collection(f.read()) + def testComplexSgf(self): + with open(os.path.join(dataDir, "kogos.sgf")) as f: + Collection(f.read()) + if __name__ == '__main__': unittest.main()