def test_create_child_folder(self): tree = Tree() root = tree.createRoot('Plan2') self.assertIsNotNone(root) folder = tree.createChild(root.id, 'child1') self.assertIsNotNone(folder)
def test_create_folder(self): tree = Tree() folder = tree.create(1, 3, 'Plan') self.assertIsNotNone(folder) folder = tree.find(folder.id) self.assertIsNotNone(folder)