From 52b89cb21ba511a8439dfc88a2be965aecce6c1f Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 13 Dec 2019 10:07:37 +0100 Subject: [PATCH] clients/tests: fix wrongly constructing command line string as tuple in TestNmcli It had no bad effect, but the cmd was a tuple with one string, and not a string. --- clients/tests/test-client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/tests/test-client.py b/clients/tests/test-client.py index 66743233a4..37c3e74908 100755 --- a/clients/tests/test-client.py +++ b/clients/tests/test-client.py @@ -787,7 +787,7 @@ class TestNmcli(NmTestBase): self.assertEqual(returncode, -5) if check_on_disk: - cmd = '$NMCLI %s' % (' '.join([Util.quote(a) for a in args[1:]])), + cmd = '$NMCLI %s' % (' '.join([Util.quote(a) for a in args[1:]])) content = ('location: %s\n' % (calling_location)).encode('utf8') + \ ('cmd: %s\n' % (cmd)).encode('utf8') + \