tests: update test_log with json_logging namespace
This commit is contained in:
parent
cf3930f925
commit
d4a295b22e
@ -218,7 +218,8 @@ class TestInitLog:
|
||||
def args(self):
|
||||
"""Fixture providing an argparse namespace for init_log."""
|
||||
return argparse.Namespace(debug=True, loglevel='debug', color=True,
|
||||
loglines=10, logfilter="", force_color=False)
|
||||
loglines=10, logfilter="", force_color=False,
|
||||
json_logging=False)
|
||||
|
||||
def test_stderr_none(self, args):
|
||||
"""Test init_log with sys.stderr = None."""
|
||||
|
Loading…
Reference in New Issue
Block a user