This commit is contained in:
HgO 2024-04-17 15:59:39 +02:00
parent 96b22672d6
commit d0fe802f8b

View file

@ -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__":