diff options
author | Sam Doran <sdoran@redhat.com> | 2019-02-28 16:43:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-28 16:43:19 -0500 |
commit | 2a98faee2b3be7a0e06b3a2959ba91b20b272355 (patch) | |
tree | 210dd6c95e5e96010468ce56c0dd3419ffd88300 /test/units/module_utils/basic/test_atomic_move.py | |
parent | 1c87ea6fa68191578ed062191b983d31d6737d6f (diff) | |
download | ansible-2a98faee2b3be7a0e06b3a2959ba91b20b272355.tar.gz |
Move _handle_aliases() out of basic.py (#48578)
Refinements:
- return legal_inputs and update class properties
- remove redundant arguments from method and handle in caller
- add better exception types to method
* Add unit tests for handle_aliases
Diffstat (limited to 'test/units/module_utils/basic/test_atomic_move.py')
-rw-r--r-- | test/units/module_utils/basic/test_atomic_move.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/units/module_utils/basic/test_atomic_move.py b/test/units/module_utils/basic/test_atomic_move.py index 1dea91702c..dce3941906 100644 --- a/test/units/module_utils/basic/test_atomic_move.py +++ b/test/units/module_utils/basic/test_atomic_move.py @@ -62,6 +62,7 @@ def fake_stat(mocker): stat1.st_mode = 0o0644 stat1.st_uid = 0 stat1.st_gid = 0 + stat1.st_flags = 0 yield stat1 |