Example #1
0
 def assert_disabled(self, pre, post):
     resource = etree.fromstring(pre)
     common.disable(resource)
     assert_xml_equal(post, etree_to_str(resource))
Example #2
0
 def assert_disabled(pre, post):
     resource = etree.fromstring(pre)
     common.disable(resource, IdProvider(resource))
     assert_xml_equal(post, etree_to_str(resource))