mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update old utils paths to use new paths
This commit is contained in:
parent
15bfba7143
commit
92c9317a25
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ from tests.support.helpers import destructiveTest
|
|||
from tests.support.unit import skipIf
|
||||
|
||||
# Import salt libs
|
||||
import salt.utils
|
||||
import salt.utils.platform
|
||||
|
||||
|
||||
class TimezoneLinuxModuleTest(ModuleCase):
|
||||
|
@ -55,7 +55,7 @@ class TimezoneSolarisModuleTest(ModuleCase):
|
|||
self.assertIn(ret, timescale)
|
||||
|
||||
|
||||
@skipIf(not salt.utils.is_windows(), 'windows test only')
|
||||
@skipIf(not salt.utils.platform.is_windows(), 'windows test only')
|
||||
class TimezoneWindowsModuleTest(ModuleCase):
|
||||
def setUp(self):
|
||||
self.pre = self.run_function('timezone.get_zone')
|
||||
|
|
Loading…
Add table
Reference in a new issue