Teng Lin
Teng Lin
## Summary Aligns documentation (28 files; +579 / -217 lines) with the code at HEAD after the Phase 2/3/4 demolition + Tier 12→13 capability refactor. Source of truth is the...
## Summary Migrates the two `patch_auth_seam` call sites in `tests/unit/concurrency/test_auth_load_blocks_loop.py` to direct `monkeypatch.setattr` calls aimed at the actual consumer-side bindings. Drops the now-unused `from _fixtures import patch_auth_seam` import. `tests/_fixtures/auth_seam.py` is...
## Summary Closes ~25 reach-in sites in `_artifact_downloads.py` by constructor-injecting `methods` (the narrow `_ArtifactsServiceMethods` Protocol introduced in T1 / PR #891), `mind_maps` (the existing `NoteBackedMindMapService`), and the already-explicit `storage_path` (shipped...
## Summary Replaces 14 ``patch_auth_seam`` calls in ``tests/unit/test_auth_cookie_save_race.py`` with targeted ``monkeypatch.setattr`` against the canonical call sites. Eliminates the broad 7-module walk previously needed only for facade write-through. ## Mapping |...
## Summary - Migrates the two `patch_auth_seam(monkeypatch, "_KEEPALIVE_RATE_LIMIT_SECONDS", 0.0)` calls in `tests/unit/test_client_keepalive.py` to direct `monkeypatch.setattr` on the constant's canonical home (`notebooklm._auth.keepalive._KEEPALIVE_RATE_LIMIT_SECONDS`). - Drops the now-unused `from _fixtures import patch_auth_seam` imports...
## Summary - Replace the single `patch_auth_seam(monkeypatch, "_file_lock", fake_file_lock)` call in `tests/unit/test_warning_dedupe.py` with a direct `monkeypatch.setattr("notebooklm._auth.storage._file_lock", ...)`. - Drop the now-unused `from _fixtures import patch_auth_seam` import. - Target is `_auth.storage`...
## Summary Move the runtime `notebooklm._core` import ban from five inline copies in feature-test files into a single parametrized lint test at `tests/_lint/test_no_core_imports.py`. ### Old locations (deleted / trimmed) -...
## Summary - Replace all 9 `patch_auth_seam(monkeypatch, name, value)` calls in `tests/unit/test_refresh_lock_registry.py` with targeted `monkeypatch.setattr(notebooklm._auth.refresh, name, value)`. - All patched names (`_get_refresh_lock`, `_fetch_tokens_with_jar`, `_run_refresh_cmd`, `build_httpx_cookies_from_storage`, `snapshot_cookie_jar`) are local aliases inside...
## Summary Migrates `tests/integration/concurrency/test_refresh_cmd_race.py` off the broad `patch_auth_seam` helper to targeted `monkeypatch.setattr` calls, per the §3 cleanup audit. - Replaces all 24 `patch_auth_seam(monkeypatch, "", value)` calls with `monkeypatch.setattr(_auth_refresh, "", value)`....
## Summary Three independent cleanups surfaced by the post-PR-10 test-suite audit. Each is small and orthogonal; bundled because each on its own is too small for a PR. - **§8-1:...