diff options
| author | Michael Biebl <biebl@debian.org> | 2021-02-11 18:11:46 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2021-02-11 18:11:46 +0100 |
| commit | 80ec1decc49c72efec2a8b87c06245c92c0ab807 (patch) | |
| tree | e3b229aa94e8dcf0590f2317664176e7b8f7607b /clients/tests/test-client.py | |
| parent | 65f86e8f56267192d42f2b629fc6b0c99fb9cd0c (diff) | |
New upstream version 1.29.90 upstream/1.29.90
Diffstat (limited to 'clients/tests/test-client.py')
| -rwxr-xr-x | clients/tests/test-client.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/clients/tests/test-client.py b/clients/tests/test-client.py index 062fc9f3..99d9067f 100755 --- a/clients/tests/test-client.py +++ b/clients/tests/test-client.py @@ -26,6 +26,12 @@ from __future__ import print_function # # The important part is that translations work. Test # # $ LANG=pl_PL.UTF-8 ./clients/cli/nmcli --version # # also ensure that `locale -a` reports the Polish locale. +# # +# # How to get that right depends on your distro. First check that +# # `LANG=pl_PL.UTF-8 /usr/bin/nmcli --version` gives you Polish output +# # and that it works in principle. +# # Then install NetworkManager in the configured prefix (make install) +# # and verify that ./clients/cli/nmcli also gives you Polish. # $ NM_TEST_REGENERATE=1 make check-local-clients-tests-test-client # # Set NM_TEST_REGENERATE=1 to regenerate all files. # $ git diff ... ; git add ... @@ -562,9 +568,7 @@ class NMStubServer: def setProperty(self, path, propname, value, iface_name=None): if iface_name is None: iface_name = "" - self.op_SetProperties( - [(path, [(iface_name, [(propname, value),]),]),] - ) + self.op_SetProperties([(path, [(iface_name, [(propname, value)])])]) ############################################################################### @@ -1161,7 +1165,7 @@ class TestNmcli(NmTestBase): self.srv.op_AddObj("WifiAp", device="wlan1") self.srv.addConnection( - {"connection": {"type": "802-3-ethernet", "id": "con-1",},} + {"connection": {"type": "802-3-ethernet", "id": "con-1"}} ) @nm_test |