MCPcopy Create free account
hub / github.com/Tong89/smartNode / isolated_engine

Function isolated_engine

tests/load/test_stress_engine.py:77–81  ·  view source on GitHub ↗

每次测试独立引擎(seed=GOLDEN_SEED, autostart=False)。

()

Source from the content-addressed store, hash-verified

75
76@pytest.fixture
77def isolated_engine():
78 """每次测试独立引擎(seed=GOLDEN_SEED, autostart=False)。"""
79 eng = create_engine(seed=GOLDEN_SEED, autostart=False)
80 yield eng
81 eng.running = False
82
83
84@pytest.fixture

Callers

nothing calls this directly

Calls 1

create_engineFunction · 0.90

Tested by

no test coverage detected