diff --git a/plugins/modules/net_tools/nmcli.py b/plugins/modules/net_tools/nmcli.py index a278e0e7af..995b26fe49 100644 --- a/plugins/modules/net_tools/nmcli.py +++ b/plugins/modules/net_tools/nmcli.py @@ -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 diff --git a/tests/unit/plugins/modules/net_tools/test_nmcli.py b/tests/unit/plugins/modules/net_tools/test_nmcli.py index f0b46a4493..4ff28faf2e 100644 --- a/tests/unit/plugins/modules/net_tools/test_nmcli.py +++ b/tests/unit/plugins/modules/net_tools/test_nmcli.py @@ -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()