mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Skip tests that modify date or time
This commit is contained in:
parent
61e9efd7e0
commit
76cf936aa1
1 changed files with 2 additions and 0 deletions
|
@ -410,6 +410,7 @@ class WinSystemModuleTest(ModuleCase):
|
|||
now = datetime.datetime.now()
|
||||
self.assertEqual(now.strftime("%I:%M"), ret.rsplit(':', 1)[0])
|
||||
|
||||
@skipIf(True, 'WAR ROOM 7/18/2019, unit test?')
|
||||
@destructiveTest
|
||||
def test_set_system_time(self):
|
||||
'''
|
||||
|
@ -439,6 +440,7 @@ class WinSystemModuleTest(ModuleCase):
|
|||
date = datetime.datetime.now().date().strftime("%m/%d/%Y")
|
||||
self.assertEqual(date, ret)
|
||||
|
||||
@skipIf(True, 'WAR ROOM 7/18/2019, unit test?')
|
||||
@destructiveTest
|
||||
def test_set_system_date(self):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue