MCPcopy Index your code
hub / github.com/RustPython/RustPython / assert_logs

Method assert_logs

Lib/test/test_android.py:59–61  ·  view source on GitHub ↗
(self, level, tag, expected, **kwargs)

Source from the content-addressed store, hash-verified

57 self.assert_log("I", tag, message, skip=True, timeout=5)
58
59 def assert_logs(self, level, tag, expected, **kwargs):
60 for line in expected:
61 self.assert_log(level, tag, line, **kwargs)
62
63 def assert_log(self, level, tag, expected, *, skip=False, timeout=0.5):
64 deadline = time() + timeout

Callers 1

writeMethod · 0.95

Calls 1

assert_logMethod · 0.95

Tested by

no test coverage detected