MCPcopy Index your code
hub / github.com/Tong89/smartNode / test_engine

Function test_engine

tests/test_api_integration.py:39–43  ·  view source on GitHub ↗

使用固定种子、不启动后台线程的引擎(函数作用域,每次测试独立实例)。

()

Source from the content-addressed store, hash-verified

37
38@pytest.fixture
39def test_engine():
40 """使用固定种子、不启动后台线程的引擎(函数作用域,每次测试独立实例)。"""
41 eng = create_engine(seed=0, autostart=False)
42 yield eng
43 eng.running = False
44
45
46@pytest.fixture

Callers

nothing calls this directly

Calls 1

create_engineFunction · 0.90

Tested by

no test coverage detected