test_action.py (ansible-2.14.0) | : | test_action.py (ansible-2.14.1rc1) | ||
---|---|---|---|---|
skipping to change at line 426 | skipping to change at line 426 | |||
'rc': 1, | 'rc': 1, | |||
'stdout': '', | 'stdout': '', | |||
'stderr': '', | 'stderr': '', | |||
} | } | |||
action_base._remote_chmod.return_value = { | action_base._remote_chmod.return_value = { | |||
'rc': 1, | 'rc': 1, | |||
'stdout': 'some stuff here', | 'stdout': 'some stuff here', | |||
'stderr': '', | 'stderr': '', | |||
} | } | |||
assertThrowRegex( | assertThrowRegex( | |||
'Failed to set file mode on remote temporary file', | 'Failed to set file mode or acl on remote temporary files', | |||
execute=True) | execute=True) | |||
action_base._remote_chmod.return_value = { | action_base._remote_chmod.return_value = { | |||
'rc': 0, | 'rc': 0, | |||
'stdout': 'some stuff here', | 'stdout': 'some stuff here', | |||
'stderr': '', | 'stderr': '', | |||
} | } | |||
assertSuccess(execute=True) | assertSuccess(execute=True) | |||
# Step 3c: chown | # Step 3c: chown | |||
action_base._remote_chown = MagicMock() | action_base._remote_chown = MagicMock() | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |