(self)
| 1977 | ) |
| 1978 | |
| 1979 | def testAssertNoLogsPerLevel(self): |
| 1980 | # Check per-level filtering |
| 1981 | with self.assertNoStderr(): |
| 1982 | with self.assertNoLogs(level="ERROR"): |
| 1983 | log_foo.info("foo") |
| 1984 | log_quux.debug("1") |
| 1985 | |
| 1986 | def testAssertNoLogsFailurePerLevel(self): |
| 1987 | # Failure due to unexpected logs at the specified level. |
nothing calls this directly
no test coverage detected