MCPcopy Create free account
hub / github.com/anthropics/defending-code-reference-harness / mock_docker

Function mock_docker

tests/test_patch_grade.py:163–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161
162@pytest.fixture
163def mock_docker():
164 with patch("harness.patch_grade.docker_ops") as m:
165 m.run.return_value = "pgrade"
166 m.commit.return_value = "patched:tmp"
167 yield m
168
169
170def test_t0_fail_short_circuits(mock_docker):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected