notebooks: add tests for new layout — config, snippets, compose validation #218
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tasks
infra/marimo/marimo.tomlis valid TOML with required sectionsinfra/marimo/snippets/home-page-patched.jsexists ininfra/marimo/notebooks/contains ONLY.pyfiles (no config, no JS, no CSS)docker compose config --quietpassesComplete.
18 tests in
tests/test_notebook_layout.py:TestNotebooksClean (6): no config files, only .py, no .marimo-config, no .marimo.toml, no snippets, no home-page JS
TestInfraMarimo (8): dir exists, marimo.toml valid TOML with required sections, snippet path updated, 10 snippets present by name, home-page JS exists, no loch.css duplicate
TestNoStaleReferences (4): compose no old config mount, no old homepage mount, uses infra/marimo, stack.toml path_filter includes infra/marimo
✅ 18/18 passed. Full suite: 12,055 passed, zero regressions.