virt-manager/tests
Cole Robinson 8560138cf2 cli: Add --xml xpath option for virt-install and virt-xml
The --xml option allows users to request raw XML edits to virt-install
or virt-xml generated XML. This gives users a bit of a workaround
incase we don't have proper support for some XML property. The --xml
option can gain more features in the future if it makes sense, like
setting XML namespaces for example.

Basic usage is like: virt-install --xml ./@foo=bar ...

Which will change the generated <domain> XML to have

<domain foo='bar' ...

virt-xml works similarly. It can only be combined with --edit currently.
This only works with xpaths rooted against the entire document.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-09-11 15:04:37 -04:00
..
data cli: Add --xml xpath option for virt-install and virt-xml 2020-09-11 15:04:37 -04:00
uitests uitests: Add a fixture for passing in VMMDogtailApp 2020-09-11 14:25:53 -04:00
__init__.py tests: Don't show debug output by default on failure 2020-07-18 19:28:04 -04:00
conftest.py tests: Move checkprops.py magic skipping to pytest 2020-07-17 16:47:58 -04:00
magicuri.py virtinst: uri: Rework MagicURI to work with passed in fakeuri 2020-02-03 07:05:11 -05:00
test_capabilities.py createvm: Fix checking for empty KVM caps 2020-08-30 14:23:24 -04:00
test_checkprops.py cli: Fill in all --filesystem suboptions 2020-09-11 09:00:33 -04:00
test_cli.py cli: Add --xml xpath option for virt-install and virt-xml 2020-09-11 15:04:37 -04:00
test_cloner.py tests: data: Move all cli/ bits to their own directories 2020-09-08 17:48:40 -04:00
test_conn.py objects: Erase the notion of connkey 2020-09-01 14:27:11 -04:00
test_dist.py tests: dist: Add xgettext warning check 2020-07-12 17:08:10 -04:00
test_inject.py tests: Move all data directories to data/ 2020-01-27 06:57:37 -05:00
test_nodedev.py tests: Add *DIR helper variables 2020-08-30 14:23:24 -04:00
test_osdict.py tests: Add *DIR helper variables 2020-08-30 14:23:24 -04:00
test_storage.py cloner: Share more clone disk building logic 2020-09-05 15:49:55 -04:00
test_uriparse.py tests: Add our own test:///default driver XML 2020-09-05 15:49:55 -04:00
test_urldetect.py tests: add Mageia 5 detection test 2020-08-31 13:20:41 -04:00
test_urls.py tests: Rename clistate -> TESTCONFIG 2020-07-17 16:38:40 -04:00
test_xmlconfig.py tests: data: Move all cli/ bits to their own directories 2020-09-08 17:48:40 -04:00
test_xmlparse.py cli: Fill in all --filesystem suboptions 2020-09-11 09:00:33 -04:00
testdriver.xml tests: Move all testdriver XML to the same dir 2020-08-26 15:20:05 -04:00
urlfetcher_mock.py tests: data: Move all cli/ bits to their own directories 2020-09-08 17:48:40 -04:00
utils.py xmlutil: add a diff() helper 2020-09-05 15:49:55 -04:00