linting
This commit is contained in:
parent
96b22672d6
commit
d0fe802f8b
1 changed files with 3 additions and 1 deletions
|
@ -411,7 +411,9 @@ class ConfigTestCase(unittest.TestCase):
|
||||||
self.assertEqual(2, fake_logger.addHandler.call_count)
|
self.assertEqual(2, fake_logger.addHandler.call_count)
|
||||||
fake_logger.setLevel.assert_called_once_with("DEBUG")
|
fake_logger.setLevel.assert_called_once_with("DEBUG")
|
||||||
fake_logging.FileHandler.return_value.setLevel.assert_called_once_with("WARN")
|
fake_logging.FileHandler.return_value.setLevel.assert_called_once_with("WARN")
|
||||||
fake_logging.StreamHandler.return_value.setLevel.assert_called_once_with("ERROR")
|
fake_logging.StreamHandler.return_value.setLevel.assert_called_once_with(
|
||||||
|
"ERROR"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in a new issue