diff options
author | Thomas Haller <thaller@redhat.com> | 2019-12-13 10:07:37 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-12-13 13:19:31 +0100 |
commit | 52b89cb21ba511a8439dfc88a2be965aecce6c1f (patch) | |
tree | 98bf072383954e0e23968824be409855cd5e65fd | |
parent | 48225add3a1126a144959ecf82452ad6f8252511 (diff) | |
download | NetworkManager-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-x | clients/tests/test-client.py | 2 |
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') + \ |