mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Move shared kernelpkg test cases to tests/support/
This commit is contained in:
parent
e0d95b640f
commit
81e38239fe
3 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
|||
:synopsis: Base class for kernelpkg modules
|
||||
:platform: Linux
|
||||
:maturity: develop
|
||||
versionadded:: 2018.3.0
|
||||
.. versionadded:: 2018.3.0
|
||||
'''
|
||||
# pylint: disable=invalid-name,no-member
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
:synopsis: Unit Tests for 'module.aptkernelpkg'
|
||||
:platform: Linux
|
||||
:maturity: develop
|
||||
versionadded:: 2018.3.0
|
||||
.. versionadded:: 2018.3.0
|
||||
'''
|
||||
# pylint: disable=invalid-name,no-member
|
||||
|
||||
|
@ -18,7 +18,7 @@ try:
|
|||
from tests.support.mock import MagicMock, patch, NO_MOCK, NO_MOCK_REASON
|
||||
|
||||
# Import Salt Libs
|
||||
from tests.unit.modules.test_kernelpkg import KernelPkgTestCase
|
||||
from tests.support.kernelpkg import KernelPkgTestCase
|
||||
import salt.modules.kernelpkg_linux_apt as kernelpkg
|
||||
from salt.exceptions import CommandExecutionError
|
||||
HAS_MODULES = True
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
:synopsis: Unit Tests for 'module.yumkernelpkg'
|
||||
:platform: Linux
|
||||
:maturity: develop
|
||||
versionadded:: 2018.3.0
|
||||
.. versionadded:: 2018.3.0
|
||||
'''
|
||||
# pylint: disable=invalid-name,no-member
|
||||
|
||||
|
@ -17,7 +17,7 @@ try:
|
|||
from tests.support.mock import MagicMock, patch, NO_MOCK, NO_MOCK_REASON
|
||||
|
||||
# Import Salt Libs
|
||||
from tests.unit.modules.test_kernelpkg import KernelPkgTestCase
|
||||
from tests.support.kernelpkg import KernelPkgTestCase
|
||||
import salt.modules.kernelpkg_linux_yum as kernelpkg
|
||||
import salt.modules.yumpkg as pkg
|
||||
from salt.exceptions import CommandExecutionError
|
||||
|
|
Loading…
Add table
Reference in a new issue