tests: Don't use bogus net model names

Libvirt is rejecting them now
This commit is contained in:
Cole Robinson 2019-04-17 10:07:35 -04:00
parent 3980f79ab8
commit 96beae9ba3
3 changed files with 3 additions and 3 deletions

View File

@ -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'/>

View File

@ -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">

View File

@ -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")