MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / _ensure_image_available

Function _ensure_image_available

tests/languages/docker_image_test.py:12–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11@pytest.fixture(autouse=True, scope='module')
12def _ensure_image_available():
13 cmd_output_b('docker', 'run', '--rm', 'ubuntu:22.04', 'echo')
14
15
16@xfailif_windows # pragma: win32 no cover

Callers

nothing calls this directly

Calls 1

cmd_output_bFunction · 0.90

Tested by

no test coverage detected