From d4a295b22ee52ee88d6f06842c1c7b4b99edaf17 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 25 May 2016 13:31:37 +0200 Subject: [PATCH] tests: update test_log with json_logging namespace --- tests/unit/utils/test_log.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/utils/test_log.py b/tests/unit/utils/test_log.py index 49b1ac567..27332efdf 100644 --- a/tests/unit/utils/test_log.py +++ b/tests/unit/utils/test_log.py @@ -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."""