freeipa/ipatests/pytest_plugins/additional_config.py
Stanislav Laznicka ecd6cb4e45 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>
2016-09-30 09:55:58 +02:00

9 lines
247 B
Python

#
# 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")