mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 01:20:07 +01:00
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.
This commit is contained in:
parent
48225add3a
commit
52b89cb21b
1 changed files with 1 additions and 1 deletions
|
|
@ -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') + \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue