summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2018-10-31 11:29:26 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2018-11-02 14:56:40 +0100
commit5665f67bae25ee9f96e057c2a993b8cf69cbc127 (patch)
treef65d3d2bb6ecf2f6781c8269b3101730c7c87da8
parenta985efaf934cedd37a69f94cd35990d7e2c43f0b (diff)
downloadNetworkManager-5665f67bae25ee9f96e057c2a993b8cf69cbc127.tar.gz
cli/tests: fix output on failure
-rwxr-xr-xclients/tests/test-client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/tests/test-client.py b/clients/tests/test-client.py
index 9c79d2c49a..fee874ba85 100755
--- a/clients/tests/test-client.py
+++ b/clients/tests/test-client.py
@@ -744,8 +744,8 @@ class TestNmcli(NmTestBase):
skip_test_for_l10n_diff.append(n['test_name'])
continue
print("\n\n\nThe file '%s' does not have the expected content:" % (filename))
- print("ACTUAL OUTPUT:\n[[%s]]\n" % (results_expect[i]))
- print("EXPECT OUTPUT:\n[[%s]]\n" % (n['content']))
+ print("ACTUAL OUTPUT:\n[[%s]]\n" % (n['content']))
+ print("EXPECT OUTPUT:\n[[%s]]\n" % (results_expect[i]))
print("Let the test write the file by rerunning with NM_TEST_REGENERATE=1")
print("See howto in %s for details.\n" % (PathConfiguration.canonical_script_filename()))
sys.stdout.flush()