MCPcopy Create free account
hub / github.com/ddnet/ddnet / wait_for_log_suffix

Method wait_for_log_suffix

scripts/integration_test.py:404–405  ·  view source on GitHub ↗
(self, suffix, timeout=1)

Source from the content-addressed store, hash-verified

402 self.wait_for_log(lambda l: l.line.startswith(prefix), description=f"log line with prefix `{prefix}`", timeout=timeout)
403
404 def wait_for_log_suffix(self, suffix, timeout=1):
405 self.wait_for_log(lambda l: l.line.endswith(suffix), description=f"log line with suffix `{suffix}`", timeout=timeout)
406
407 def wait_for_log_exact(self, line, timeout=1):
408 self.wait_for_log(lambda l: l.line == line, description=f"log line exactly matching `{line}`", timeout=timeout)

Callers 2

server_can_registerFunction · 0.80

Calls 1

wait_for_logMethod · 0.95

Tested by

no test coverage detected