mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Fixing some small bugs related to integration tests (v2)
This commit is contained in:
parent
816b20af0b
commit
4bc7703db3
12 changed files with 81 additions and 39 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue