MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / __init__

Method __init__

tests/arenas/conftest.py:76–78  ·  view source on GitHub ↗
(self, name: str, environment: MockEnvironment | None = None)

Source from the content-addressed store, hash-verified

74 """Mock player for testing arena validation and result parsing."""
75
76 def __init__(self, name: str, environment: MockEnvironment | None = None):
77 self.name = name
78 self.environment = environment or MockEnvironment()
79
80
81def create_mock_player(name: str, files: dict[str, str] | None = None, **kwargs) -> MockPlayer:

Callers

nothing calls this directly

Calls 1

MockEnvironmentClass · 0.85

Tested by

no test coverage detected