mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Skip test that uses pwd, not available on Windows
This commit is contained in:
parent
aeb82f0829
commit
a5f7288ad9
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