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