← Về thư mục
tests/test_backend_import_contract.py
- _module_name · function · L134-L138 — def _module_name(path: Path) -> str
- _resolve_from · function · L141-L145 — def _resolve_from(node: ast.ImportFrom, current: str, path: Path) -> str
- _dotted_name · function · L148-L154 — def _dotted_name(node: ast.AST) -> str | None
- _literal_import_module · function · L157-L166 — def _literal_import_module(node: ast.AST) -> str | None
- _scan_backend_imports · function · L169-L245 — def _scan_backend_imports() -> ( tuple[dict[str, set[str]], dict[tuple[str, str], list[str]]] )
- record · function · L175-L177 — def record(module: str, name: str, path: Path, line: int) -> None
- test_backend_imports_only_use_declared_facade_surface · function · L248-L265 — def test_backend_imports_only_use_declared_facade_surface()
- test_backend_facade_exports_remain_importable · function · L268-L279 — def test_backend_facade_exports_remain_importable()