File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def wait_for_health_check(container: Container) -> None:
5353 """Wait for a container to pass its health check.
5454
5555 On failure, augment the error with the container's logs and the
56- Docker health check probe history so CI failures are diagnosable .
56+ Docker health check probe history so CI failures are easy to diagnose .
5757 """
5858 try :
5959 _poll_health_check (container = container )
@@ -287,7 +287,8 @@ def test_build_and_run_raises_full_log_for_unexpected_build_error(
287287 class Images :
288288 """Mock Docker images API."""
289289
290- def build (self , ** _ : object ) -> tuple [object , object ]:
290+ @staticmethod
291+ def build (** _ : object ) -> tuple [object , object ]:
291292 """Raise an unexpected Docker build error."""
292293 build_log = [
293294 {"stream" : "first build log line" },
You can’t perform that action at this time.
0 commit comments