mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 09:00:21 +01:00
cli/tests: fix output on failure
(cherry picked from commit 5665f67bae)
This commit is contained in:
parent
e22602096f
commit
d1afd1c420
1 changed files with 2 additions and 2 deletions
|
|
@ -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()))
|
||||
self.fail("Unexpected output of command, expected %s. Rerun test with NM_TEST_REGENERATE=1 to regenerate files" % (filename))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue