mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 14:21:26 -07:00
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
This commit is contained in:
parent
1c87ea6fa6
commit
2a98faee2b
5 changed files with 189 additions and 47 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue