mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
lint and precommit fixes
This commit is contained in:
parent
71812f43a6
commit
19a1edc3a1
2 changed files with 7 additions and 7 deletions
|
@ -1412,12 +1412,12 @@ def refresh_db(force=None, root=None, gpgautoimport=False, **kwargs):
|
|||
If set to True, automatically trust and import public GPG key for
|
||||
the repository.
|
||||
|
||||
.. versionadded:: 3007
|
||||
.. versionadded:: 3007.0
|
||||
|
||||
repos
|
||||
Refresh just the specified repos
|
||||
|
||||
.. versionadded:: 3007
|
||||
.. versionadded:: 3007.0
|
||||
|
||||
root
|
||||
operate on a different root directory.
|
||||
|
|
|
@ -405,7 +405,7 @@ class ZypperTestCase(TestCase, LoaderModuleMockMixin):
|
|||
"refresh",
|
||||
"--force",
|
||||
],
|
||||
**call_kwargs
|
||||
**call_kwargs,
|
||||
)
|
||||
zypper.refresh_db(gpgautoimport=True, force=True)
|
||||
zypper_mock.assert_called_with(
|
||||
|
@ -416,7 +416,7 @@ class ZypperTestCase(TestCase, LoaderModuleMockMixin):
|
|||
"refresh",
|
||||
"--force",
|
||||
],
|
||||
**call_kwargs
|
||||
**call_kwargs,
|
||||
)
|
||||
zypper.refresh_db(gpgautoimport=True, force=False)
|
||||
zypper_mock.assert_called_with(
|
||||
|
@ -426,7 +426,7 @@ class ZypperTestCase(TestCase, LoaderModuleMockMixin):
|
|||
"--gpg-auto-import-keys",
|
||||
"refresh",
|
||||
],
|
||||
**call_kwargs
|
||||
**call_kwargs,
|
||||
)
|
||||
zypper.refresh_db(
|
||||
gpgautoimport=True,
|
||||
|
@ -444,7 +444,7 @@ class ZypperTestCase(TestCase, LoaderModuleMockMixin):
|
|||
"--force",
|
||||
"mock-repo-name",
|
||||
],
|
||||
**call_kwargs
|
||||
**call_kwargs,
|
||||
)
|
||||
zypper.refresh_db(
|
||||
gpgautoimport=True,
|
||||
|
@ -461,7 +461,7 @@ class ZypperTestCase(TestCase, LoaderModuleMockMixin):
|
|||
"--force",
|
||||
"mock-repo-name",
|
||||
],
|
||||
**call_kwargs
|
||||
**call_kwargs,
|
||||
)
|
||||
|
||||
def test_info_installed(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue