tests/test_treeview.py
changeset 38 c6e170452c7f
parent 37 54dd866b8951
--- a/tests/test_treeview.py	Mon Dec 17 21:07:59 2012 +0100
+++ b/tests/test_treeview.py	Mon Dec 17 23:19:58 2012 +0100
@@ -24,7 +24,7 @@
         """
         self.model = TreeModel()
         self.model.add('/',  ['a', 'b'])
-        self.model.add('/a', [TreeNode('c'), TreeNode('d')])
+        self.model.add(['a'], [TreeNode('c'), TreeNode('d')])
         self.model.add((0,1), ['e', TreeNode('f')])
         self.model.add([0,1,0], 'g')
         self.model.add('/a/d/f', TreeNode('h'))