MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / _run

Function _run

Scripts/codegen/tests/test_require_introspect.py:25–31  ·  view source on GitHub ↗
(extra_args: list[str], introspect_path: str)

Source from the content-addressed store, hash-verified

23
24
25def _run(extra_args: list[str], introspect_path: str) -> subprocess.CompletedProcess:
26 return subprocess.run(
27 [sys.executable, _GENERATOR,
28 "--check", "--introspect", introspect_path,
29 *extra_args],
30 capture_output=True, text=True, cwd=_PLUGIN_ROOT,
31 )
32
33
34def test_require_introspect_default_hard_fails_when_missing(tmp_path):

Calls

no outgoing calls

Tested by

no test coverage detected