mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
lint fixes
This commit is contained in:
parent
cdaccf4679
commit
b7bfe1766b
2 changed files with 2 additions and 2 deletions
|
@ -333,6 +333,7 @@ def latest_version(name, **kwargs):
|
|||
return ret
|
||||
return ''
|
||||
|
||||
|
||||
# available_version is being deprecated
|
||||
available_version = salt.utils.functools.alias_function(latest_version, 'available_version')
|
||||
|
||||
|
|
|
@ -2,13 +2,11 @@
|
|||
|
||||
# Import Python Libs
|
||||
from __future__ import absolute_import
|
||||
import os
|
||||
|
||||
# Import Salt Testing Libs
|
||||
from tests.support.mixins import LoaderModuleMockMixin
|
||||
from tests.support.unit import TestCase, skipIf
|
||||
from tests.support.mock import (
|
||||
Mock,
|
||||
MagicMock,
|
||||
patch,
|
||||
NO_MOCK,
|
||||
|
@ -20,6 +18,7 @@ import salt.modules.solarisips as solarisips
|
|||
import salt.modules.pkg_resource as pkg_resource
|
||||
import salt.utils.data
|
||||
|
||||
|
||||
@skipIf(NO_MOCK, NO_MOCK_REASON)
|
||||
class IpsTestCase(TestCase, LoaderModuleMockMixin):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue