1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

nmcli: Fix yaml formatting

This commit is contained in:
Manuel Gayer 2021-08-31 17:58:37 +02:00
parent 7bbc0bfee7
commit ed1a42cc83
2 changed files with 3 additions and 3 deletions

View file

@ -704,7 +704,7 @@ options:
asked to retrieve it
C(2) I(NOT_SAVED): This secret should not be saved, but should be requested from the user each time it is needed
C(4) I(NOT_REQUIRED): In situations where it cannot be automatically determined that the secret is required
(some VPNs and PPP providers don't require all secrets) this flag indicates that the specific secret is not required'
(some VPNs and PPP providers do not require all secrets) this flag indicates that the specific secret is not required'
type: int
choices: [ 0, 1, 2 , 4 ]
default: 0

View file

@ -2241,7 +2241,7 @@ def test_create_gsm(mocked_generic_connection_create, capfd):
'gsm.apn', 'internet.telekom',
'gsm.username', 't-mobile',
'gsm.password', 'tm',
'gsm.pin', '1234',]:
'gsm.pin', '1234']:
assert param in args_text
out, err = capfd.readouterr()
@ -2269,7 +2269,7 @@ def test_gsm_mod(mocked_generic_connection_modify, capfd):
args_text = list(map(to_text, args[0]))
for param in ['gsm.username', 't-mobile',
'gsm.password', 'tm',]:
'gsm.password', 'tm']:
assert param in args_text
out, err = capfd.readouterr()