Pretty-print structures in assert_deepequal
By default, ipa-run-tests will now pretty-print structures compared in the assert_deepequal function. This behaviour can be turned off by the --no-pretty-print option. https://fedorahosted.org/freeipa/ticket/6212 Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
1 parent
81ead980fb
commit
ecd6cb4e45
3 files changed
+37
-7
No files matched your search
@@ -0,0 +1,8 @@
|
||||
#
|
||||
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
|
||||
#
|
||||
|
||||
|
||||
def pytest_addoption(parser):
|
||||
parser.addoption("--no-pretty-print", action="store_false",
|
||||
dest="pretty_print", help="Don't pretty-print structures")
|
||||
Reference in new issue
Block a user