Пример #1
0
 def test_is_clone(self):
     self.assertTrue(clone.is_clone(etree.fromstring("<clone/>")))
     self.assertFalse(clone.is_clone(etree.fromstring("<master/>")))
     self.assertFalse(clone.is_clone(etree.fromstring("<group/>")))
Пример #2
0
 def test_is_clone(self):
     self.assertTrue(clone.is_clone(etree.fromstring("<clone/>")))
     self.assertFalse(clone.is_clone(etree.fromstring("<master/>")))
     self.assertFalse(clone.is_clone(etree.fromstring("<group/>")))