(self)
| 5762 | self.assertEqual(mock_formatter_init.call_count, 0) |
| 5763 | |
| 5764 | def test_formatter_not_given(self): |
| 5765 | mock_handler = Mock(formatter=None) |
| 5766 | with patch("logging.Formatter") as mock_formatter_init: |
| 5767 | logging.basicConfig(handlers=[mock_handler]) |
| 5768 | self.assertEqual(mock_formatter_init.call_count, 1) |
| 5769 | |
| 5770 | @support.requires_working_socket() |
| 5771 | def test_log_taskName(self): |
nothing calls this directly
no test coverage detected