예제 #1
0
 def assert_managed(self, pre, post):
     resource = etree.fromstring(pre)
     common.manage(resource)
     assert_xml_equal(post, etree_to_str(resource))
예제 #2
0
 def assert_managed(pre, post):
     resource = etree.fromstring(pre)
     common.manage(resource, IdProvider(resource))
     assert_xml_equal(post, etree_to_str(resource))