virt-manager/tests
Cole Robinson 7e79e064ea Revert virt-xml multiple --edit support
This reverts b34ae0d0c8 and
1fef5d8661.

Playing with this some more I found some deeper problems. For example

```console
[:~/src/virt-manager] (main) $ ./virt-xml test-for-virtxml --connect test://`pwd`/tests/data/testdriver/testsuite.xml --print-diff --edit 1 --video model=FOO --edit 2 --sound model=BAR
--- Original XML
+++ Altered XML
@@ -180,14 +180,14 @@
     <graphics type="vnc" port="-1" autoport="yes">
       <listen type="address"/>
     </graphics>
-    <sound model="sb16"/>
+    <sound model="BAR"/>
     <sound model="es1370"/>
     <sound model="ich6"/>
     <video>
       <model type="vmvga" vram="16384" heads="1" primary="yes"/>
     </video>
     <video>
-      <model type="cirrus" vram="16384" heads="3"/>
+      <model type="FOO" vram="16384" heads="3"/>
     </video>
     <hostdev mode="subsystem" type="usb" managed="yes">
       <source>
```

There's other weirdness too, though it's mostly strange plays on previous weird behavior

* `--edit --video model=vga --edit --sound model=ich9 --video model=qxl` works
* `--add-device --sound model=foo --video model=bar` was previously rejected but now works
* `--remove-device --video model=vmvga --sound model=sb16` was previously rejected by now works

Fixing all this is not trivial. So I think we need to revert and go back to the drawing board.
2024-08-28 21:09:31 +02:00
..
data Revert virt-xml multiple --edit support 2024-08-28 21:09:31 +02:00
uitests Fix some pylint 2024-08-26 11:36:01 -04:00
__init__.py Replace deprecated imp usage with importlib 2021-10-04 16:04:44 -04:00
conftest.py tests: Default --uitests to --verbosity=2 2023-05-06 16:50:20 -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 virtinst: add external snapshot capability 2024-03-25 13:21:50 +01:00
test_checkprops.py cli: Fill in all --filesystem suboptions 2020-09-11 09:00:33 -04:00
test_cli.py Revert virt-xml multiple --edit support 2024-08-28 21:09:31 +02: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 tests: Drop most unittest usage from virtinst tests 2020-09-19 13:46:46 -04:00
test_disk.py tests: Add test for DeviceDisk.paths_in_use_by 2024-07-22 12:42:10 +02:00
test_dist.py tests: test_dist: filter out harmless xgettext warning 2020-09-14 09:57:23 -04:00
test_inject.py tests: test_inject: Drop --debug usage 2022-08-04 15:06:17 -04:00
test_misc.py virtinstall: Hide total_size in the progress bar if it doesn't need 2022-12-14 13:18:36 -05:00
test_nodedev.py Fix some pylint 2024-08-26 11:36:01 -04:00
test_osdict.py virtinst/osdict: remove osinfo legacy aliases 2022-01-17 14:51:36 -05:00
test_storage.py tests: testdriver: Have all pools use pool- prefix 2022-02-27 13:44:13 -05:00
test_uriparse.py tests: Drop most unittest usage from virtinst tests 2020-09-19 13:46:46 -04:00
test_urldetect.py tests: add Mageia 5 detection test 2020-08-31 13:20:41 -04:00
test_urls.py Fix some pylint, exclude some new warnings 2021-10-04 16:04:33 -04:00
test_xmlparse.py virtinst: snapshot: add memory file attribute 2024-03-25 13:21:50 +01: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 Add test cases for loongarch 2024-06-18 12:09:14 +02:00