MCPcopy Create free account
hub / github.com/Screenly/Anthias / github_env

Function github_env

tests/test_github.py:32–34  ·  view source on GitHub ↗
(fake_redis: MagicMock)

Source from the content-addressed store, hash-verified

30
31@pytest.fixture
32def github_env(fake_redis: MagicMock) -> Iterator[None]:
33 with mock.patch.object(github, 'r', fake_redis):
34 yield
35
36
37def _resp(status_code: int = 200, json_data: Any = None) -> MagicMock:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected