mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #41994 from twangboy/win_unit_test_cmdmod
Fix `unit.modules.test_cmdmod` on Windows
This commit is contained in:
commit
5482524270
1 changed files with 1 additions and 0 deletions
|
@ -263,6 +263,7 @@ class CMDMODTestCase(TestCase, LoaderModuleMockMixin):
|
|||
with patch('salt.utils.fopen', mock_open(read_data=MOCK_SHELL_FILE)):
|
||||
self.assertFalse(cmdmod._is_valid_shell('foo'))
|
||||
|
||||
@skipIf(salt.utils.is_windows(), 'Do not run on Windows')
|
||||
def test_os_environment_remains_intact(self):
|
||||
'''
|
||||
Make sure the OS environment is not tainted after running a command
|
||||
|
|
Loading…
Add table
Reference in a new issue