diff options
| author | Michael Biebl <biebl@debian.org> | 2021-02-11 18:12:43 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2021-02-11 18:12:43 +0100 |
| commit | 8f0db010e71e252ac290d51bd2a5b0a078f1d279 (patch) | |
| tree | 2caa344fefcd9bb4218583c5aa2e0f92f4b2aa8c /clients/tests/test-client.py | |
| parent | f54032b30e1ddd84f10a339e0caf493772e049a7 (diff) | |
| parent | 80ec1decc49c72efec2a8b87c06245c92c0ab807 (diff) | |
Update upstream source from tag 'upstream/1.29.90'
Update to upstream version '1.29.90' with Debian dir 90df6d97476cc3200c410f3f3603b87396175c7a
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 |