Feature #10237: Refactor and clean up the automated test suite
Refactor vm_helper XML parsing code
There's a lot of code duplication, and awkwardness going on there. Some helper(s) in the spirit of
features/step_definitions/tor.rb would be nice.
#2 Updated by anonym about 3 years ago
what about something like:
update_domain_xml do |doman_xml| domain_xml.do_something_to_it end
and when the block finishes it tells libvirt to update the domain with the resulting XML. We could have a
domain_xmlmethod would just returns the REXML object -- I don't really see the point of a context manager with a block.
Also, in general I think we should switch to using Xpath instead of