mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
tests: Don't use bogus net model names
Libvirt is rejecting them now
This commit is contained in:
parent
3980f79ab8
commit
96beae9ba3
@ -307,7 +307,7 @@ Foo bar baz & yeah boii < > yeahfoo
|
||||
<interface type='network'>
|
||||
<source network='idontexistfool'/>
|
||||
<mac address='22:11:11:11:11:11'/>
|
||||
<model type='model-dont-exist'/>
|
||||
<model type='Am79C970A'/>
|
||||
</interface>
|
||||
<interface type='network'>
|
||||
<source network='dupmac'/>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
||||
<interface type="user">
|
||||
<mac address="AA:AA:AA:AA:AA:AA"/>
|
||||
<model type="testmodel"/>
|
||||
<model type="vmxnet3"/>
|
||||
<filterref filter="foo"/>
|
||||
</interface>
|
||||
<interface type="bridge">
|
||||
|
@ -612,7 +612,7 @@ class XMLParseTest(unittest.TestCase):
|
||||
|
||||
check = self._make_checker(dev1)
|
||||
check("type", "user")
|
||||
check("model", None, "testmodel")
|
||||
check("model", None, "vmxnet3")
|
||||
check("source", None, None,)
|
||||
check("macaddr", "22:11:11:11:11:11", "AA:AA:AA:AA:AA:AA")
|
||||
check("filterref", None, "foo")
|
||||
|
Loading…
Reference in New Issue
Block a user