mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
10.0.0: CmdRunner: remove deprecated feature (#8928)
* remove deprecated feature * remove deprecated feature from tests as well * Adjust the integration test * add changelog frag
This commit is contained in:
parent
0bc5f24863
commit
002f137134
5 changed files with 16 additions and 54 deletions
|
@ -38,22 +38,12 @@ cmd_echo_tests:
|
|||
- test_result.out == "-- --answer=43 --bb-here\n"
|
||||
- test_result.err == ""
|
||||
|
||||
- name: implicit aa format
|
||||
arg_formats:
|
||||
bb:
|
||||
func: as_bool
|
||||
args: [--bb-here]
|
||||
arg_order: ['aa', 'bb']
|
||||
arg_values:
|
||||
bb: true
|
||||
aa: 1984
|
||||
assertions:
|
||||
- test_result.rc == 0
|
||||
- test_result.out == "-- --aa 1984 --bb-here\n"
|
||||
- test_result.err == ""
|
||||
|
||||
- name: missing bb format
|
||||
arg_order: ['aa', 'bb']
|
||||
arg_formats:
|
||||
aa:
|
||||
func: as_opt_eq_val
|
||||
args: [--answer]
|
||||
arg_values:
|
||||
bb: true
|
||||
aa: 1984
|
||||
|
@ -69,6 +59,9 @@ cmd_echo_tests:
|
|||
|
||||
- name: missing bb value
|
||||
arg_formats:
|
||||
aa:
|
||||
func: as_opt_eq_val
|
||||
args: [--answer]
|
||||
bb:
|
||||
func: as_bool
|
||||
args: [--bb-here]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue