示例#1
0
 def test_match1(self):
     test = xml_match(1, match_parent[0], field)
     assert_(test == True)
示例#2
0
 def test_match_3 (self) :
     b = xml_match(fromstring("<red><green><blue></blue><yellow></yellow></green></red>"), fromstring("<red><blue></blue></red>"))
     self.assertTrue(b == False)