()
| 5 | |
| 6 | |
| 7 | def 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") |
nothing calls this directly
no test coverage detected
searching dependent graphs…