mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixing a log issue that pops up after test_gen_thin_compression_fallback_py3 on "OS X, need to ensure that salt.utils.thin.os.close is mocked.
This commit is contained in:
parent
9767dddfbf
commit
8440176992
1 changed files with 1 additions and 0 deletions
|
@ -495,6 +495,7 @@ class SSHThinTestCase(TestCase):
|
|||
@patch('salt.utils.thin.zipfile', MagicMock())
|
||||
@patch('salt.utils.thin.os.getcwd', MagicMock())
|
||||
@patch('salt.utils.thin.os.chdir', MagicMock())
|
||||
@patch('salt.utils.thin.os.close', MagicMock())
|
||||
@patch('salt.utils.thin.tempfile.mkdtemp', MagicMock())
|
||||
@patch('salt.utils.thin.tempfile.mkstemp', MagicMock(return_value=(3, ".temporary")))
|
||||
@patch('salt.utils.thin.shutil', MagicMock())
|
||||
|
|
Loading…
Add table
Reference in a new issue