(extra_args: list[str], introspect_path: str)
| 23 | |
| 24 | |
| 25 | def _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 | |
| 34 | def test_require_introspect_default_hard_fails_when_missing(tmp_path): |
no outgoing calls
no test coverage detected