MCPcopy Create free account
hub / github.com/AdbAutoPlayer/AdbAutoPlayer / MockGame

Class MockGame

src-tauri/src-python/tests/test_game.py:34–44  ·  view source on GitHub ↗

Mock Game class.

Source from the content-addressed store, hash-verified

32
33
34class MockGame(Game):
35 """Mock Game class."""
36
37 @property
38 def template_dir(self) -> Path:
39 """Mocked method."""
40 return TEST_DATA_DIR
41
42 @property
43 def settings(self) -> BaseModel:
44 return MockSettings()
45
46
47class TestGame(unittest.TestCase):

Calls

no outgoing calls