Skip to content
Snippets Groups Projects
Commit 304412a3 authored by Georges Racinet's avatar Georges Racinet
Browse files

testhelpers: setting ui to debug

Without it, we can't be sure there aren't unicode strings
passed to `ui.note()` and the like.
parent a1eeffc0
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,11 @@
# worse side effects.
ui.environ = dict(ui.environ)
# we want the most obscure calls to ui output methods to be executed
# in tests. With the default settings, ui.note() early returns for example
# meaning that only its arguments are tested, not what it does of them.
ui.setconfig(b'ui', b'debug', b'yes')
if config is not None:
for section_name, section in config.items():
for item_name, item_value in section.items():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment