mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove unused imports. Gating tests so they do not run on Windows
This commit is contained in:
parent
623d96f21a
commit
14d12b1d6b
1 changed files with 4 additions and 7 deletions
|
@ -13,15 +13,12 @@ log = logging.getLogger(__name__)
|
|||
# Import Salt Testing libs
|
||||
from tests.support.case import ModuleCase
|
||||
from tests.support.unit import skipIf
|
||||
from tests.support.paths import FILES, TMP, TMP_STATE_TREE
|
||||
from tests.support.helpers import (
|
||||
skip_if_not_root,
|
||||
with_system_user_and_group,
|
||||
with_tempfile,
|
||||
Webserver,
|
||||
)
|
||||
|
||||
# Import Salt libs
|
||||
import salt.utils.platform
|
||||
|
||||
|
||||
@skipIf(salt.utils.platform.is_windows(), 'minion is windows')
|
||||
class CronTest(ModuleCase):
|
||||
'''
|
||||
Validate the file state
|
||||
|
|
Loading…
Add table
Reference in a new issue