summaryrefslogtreecommitdiff
path: root/virtinst/xmlutil.py
Commit message (Collapse)AuthorAgeFilesLines
* xmlutil: Take unindent_device_xml from details.pyCole Robinson2022-08-031-0/+20
| | | | | | We will use this in virt-xml soon Signed-off-by: Cole Robinson <crobinso@redhat.com>
* xmlutil: add a diff() helperCole Robinson2020-09-051-0/+8
| | | | | | And centralize all the scattered difflib calls we have Signed-off-by: Cole Robinson <crobinso@redhat.com>
* xmlutil: Centralize all 'programming error' exceptionsCole Robinson2020-07-171-8/+5
| | | | | | | Raise them directly instead of adding the hard to read conditional into the function Signed-off-by: Cole Robinson <crobinso@redhat.com>
* virtinst: Centralize in_testsuite checkingCole Robinson2020-07-171-0/+6
| | | | Signed-off-by: Cole Robinson <crobinso@redhat.com>
* virtinst: Add full test coverage for xml*.py filesCole Robinson2019-06-091-0/+8
|
* virtinst: Add a lot of test code coverageCole Robinson2019-06-091-8/+6
| | | | | | * Delete dead code * Add tests for various device default code paths * Rework certain conditions a bit so code coverage always hits them
* virtinst: Rename util to xmlutilCole Robinson2019-06-071-0/+61
The only functions left in there are largely for xml handling, so make it explicit