mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-16 13:51:09 +00:00
Fixing some small bugs related to integration tests (v2)
This commit is contained in:
@@ -722,7 +722,7 @@ class TestModuleUtilsBasic(unittest.TestCase):
|
||||
|
||||
# FIXME: this isn't working yet
|
||||
#with patch('os.lstat', side_effect=[mock_stat1, mock_stat2]):
|
||||
# with patch('os.lchmod', return_value=None, create=True) as m_os:
|
||||
# with patch('os.lchmod', return_value=None) as m_os:
|
||||
# del m_os.lchmod
|
||||
# with patch('os.path.islink', return_value=False):
|
||||
# with patch('os.chmod', return_value=None) as m_chmod:
|
||||
|
||||
Reference in New Issue
Block a user