Remove unneeded kwargs in virt states

Avoid using kwargs to get the states parameters, perfer documented
named parameters with default value.

(cherry picked from commit c7c5d6ee88)
This commit is contained in:
Cédric Bosdonnat 2018-07-03 15:15:02 +02:00
parent 0871c028c6
commit 30981d25b9
No known key found for this signature in database
GPG Key ID: 743CCED3EDD1578D

View File

@ -254,7 +254,8 @@ class LibvirtTestCase(TestCase, LoaderModuleMockMixin):
os_type=None, arch=None,
disk=None, disks=None, nic=None, interfaces=None,
graphics=None, hypervisor=None,
seed=True, install=True, pub_key=None, priv_key=None)
seed=True, install=True, pub_key=None, priv_key=None,
connection=None, username=None, password=None)
with patch.dict(virt.__salt__, { # pylint: disable=no-member
'virt.vm_state': MagicMock(side_effect=CommandExecutionError('not found')),