Remove unused imports. Gating tests so they do not run on Windows

This commit is contained in:
Gareth J. Greenaway 2018-04-08 10:37:54 -07:00
parent 623d96f21a
commit 14d12b1d6b
No known key found for this signature in database
GPG key ID: 10B62F8A7CAD7A41

View file

@ -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