MCPcopy
hub / github.com/pyodide/pyodide / test_run_docker_script

Function test_run_docker_script

tools/tests/test_run_docker.py:7–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7def test_run_docker_script():
8 res = subprocess.run(
9 ["bash", str(PYODIDE_ROOT / "run_docker"), "--help"],
10 check=False,
11 capture_output=True,
12 )
13
14 assert "Usage: run_docker" in res.stdout.decode("utf-8")
15
16 res = subprocess.run(
17 ["bash", str(PYODIDE_ROOT / "run_docker"), "--invalid-param"],
18 check=False,
19 capture_output=True,
20 )
21 assert res.returncode > 0
22 assert "Unknown option --invalid-param" in res.stderr.decode("utf-8")

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…