Пример #1
0
 def test_build_tree_merge(self):
     tags = [("~people", 1)]
     tree = build_tree(tags, self.albums)
     self.failUnless(MultiNode in tree)
     self.failUnless(UnknownNode in tree)
     self.failUnless("boris" in tree)
     self.failUnless("piman" in tree)
     self.failUnlessEqual(len(tree), 4)
 def test_build_tree_merge(self):
     tags = [("~people", 1)]
     tree = build_tree(tags, self.albums)
     self.failUnless(MultiNode in tree)
     self.failUnless(UnknownNode in tree)
     self.failUnless("boris" in tree)
     self.failUnless("piman" in tree)
     self.failUnlessEqual(len(tree), 4)