示例#1
0
 def assert_clone_effect(self, options, xml):
     clone.append_new(
         clone.TAG_CLONE,
         self.resources,
         self.primitive,
         options
     )
     assert_xml_equal(etree.tostring(self.cib).decode(), xml)
示例#2
0
 def assert_clone_effect(self, options, xml):
     clone.append_new(
         self.resources,
         IdProvider(self.resources),
         self.primitive,
         options
     )
     assert_xml_equal(etree.tostring(self.cib).decode(), xml)
示例#3
0
 def assert_clone_effect(self, options, xml):
     clone.append_new(
         clone.TAG_CLONE,
         self.resources,
         self.primitive,
         options
     )
     assert_xml_equal(etree.tostring(self.cib).decode(), xml)
示例#4
0
 def assert_clone_effect(self, options, xml, clone_id=None):
     clone.append_new(
         self.resources,
         IdProvider(self.resources),
         self.primitive,
         options,
         clone_id=clone_id,
     )
     assert_xml_equal(etree.tostring(self.cib).decode(), xml)