Skip to content

Commit 6e6a7ae

Browse files
committed
Fix Docker test lint
1 parent aa9276a commit 6e6a7ae

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/mock_vws/test_docker.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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"},

0 commit comments

Comments
 (0)