From c61581ae32673e4751d8e181637136525e6fe36e Mon Sep 17 00:00:00 2001 From: Manuel Gayer Date: Tue, 31 Aug 2021 17:23:39 +0200 Subject: [PATCH] nmcli: Fix GSM unit test * Fix copy-paste error in test_gsm_mod --- tests/unit/plugins/modules/net_tools/test_nmcli.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/unit/plugins/modules/net_tools/test_nmcli.py b/tests/unit/plugins/modules/net_tools/test_nmcli.py index 24c4f3ea6b..82a8c45ffb 100644 --- a/tests/unit/plugins/modules/net_tools/test_nmcli.py +++ b/tests/unit/plugins/modules/net_tools/test_nmcli.py @@ -2271,9 +2271,8 @@ def test_gsm_mod(mocked_generic_connection_modify, capfd): args_text = list(map(to_text, args[0])) for param in [ - 'gsm.apn', 'web.vodafone.de', - 'gsm.username', '', - 'gsm.password', '', + 'gsm.username', 't-mobile', + 'gsm.password', 'tm', ]: assert param in args_text