Beispiel #1
0
 def assert_enabled(self, pre, post):
     resource = etree.fromstring(pre)
     common.enable(resource)
     assert_xml_equal(post, etree_to_str(resource))
Beispiel #2
0
 def assert_enabled(pre, post):
     resource = etree.fromstring(pre)
     common.enable(resource, IdProvider(resource))
     assert_xml_equal(post, etree_to_str(resource))