tests: update test_log with json_logging namespace

This commit is contained in:
Daniel Schadt 2016-05-25 13:31:37 +02:00
parent cf3930f925
commit d4a295b22e

View File

@ -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."""