summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-12-13 10:07:37 +0100
committerThomas Haller <thaller@redhat.com>2019-12-13 13:19:31 +0100
commit52b89cb21ba511a8439dfc88a2be965aecce6c1f (patch)
tree98bf072383954e0e23968824be409855cd5e65fd
parent48225add3a1126a144959ecf82452ad6f8252511 (diff)
downloadNetworkManager-52b89cb21ba511a8439dfc88a2be965aecce6c1f.tar.gz
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.
-rwxr-xr-xclients/tests/test-client.py2
1 files changed, 1 insertions, 1 deletions
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') + \