Land CSOC-WP-0006 PageOps: member space/page CRUD, copy, transfer

Thin CONTENT_ROOT content plane (ADR-0003/0004) with space visual field,
product UI for Title/Abstract/Visual, page list sidebar, and tests. Update
capability model and smoke checklist; mark WP-0006 finished.
This commit is contained in:
tegwick 2026-08-13 12:46:39 +02:00
parent 00dbb86c93
commit affed64839
24 changed files with 1812 additions and 151 deletions

View file

@ -17,11 +17,13 @@ def test_render_markdown_strips_script():
@pytest.mark.django_db
def test_load_space_page_unbound():
def test_load_space_page_unbound(tmp_path, settings):
settings.CONTENT_ROOT = str(tmp_path / "empty-content")
space = Space(tenant_id="t", slug="x", title="X")
page = load_space_page(space)
assert page.error
assert "not bound" in page.error.lower()
err = page.error.lower()
assert "content plane" in err or "not bound" in err or "forgejo" in err
@pytest.mark.django_db