()
| 9 | |
| 10 | def _load_exec_module(): |
| 11 | import importlib.util |
| 12 | |
| 13 | script_path = REPO_ROOT / "notebooks" / "python" / "scripts" / "execute_notebook_cells.py" |
| 14 | spec = importlib.util.spec_from_file_location("openquant_nb_exec", script_path) |
| 15 | assert spec is not None and spec.loader is not None |
| 16 | module = importlib.util.module_from_spec(spec) |
| 17 | spec.loader.exec_module(module) |
| 18 | return module |
| 19 | |
| 20 | |
| 21 | def test_execute_notebook_writes_to_explicit_output_path(): |
| 22 | mod = _load_exec_module() |
no outgoing calls
no test coverage detected