diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 6b92973..4dda779 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,6 +1,6 @@ --- name: Bug report -about: Report a CivicComms defect +about: Report a Townlight Communications defect title: "[Bug]: " labels: bug assignees: "" @@ -8,12 +8,14 @@ assignees: "" ## What happened? -## What should CivicComms have done instead? + + +## What should Townlight Communications have done instead? ## Steps to reproduce ## Environment -- CivicComms version: +- Townlight Communications version: - Python version: - Operating system: diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index b21f510..078ed73 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,6 +1,6 @@ --- name: Feature request -about: Suggest a CivicComms capability +about: Suggest a Townlight Communications capability title: "[Feature]: " labels: enhancement assignees: "" diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 1ab94ee..fc07dc7 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,6 +1,6 @@ ## Summary -Describe the CivicComms change in one or two sentences. +Describe the Townlight Communications change in one or two sentences. ## Verification diff --git a/AGENTS.md b/AGENTS.md index e869454..64acad8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,19 +1,21 @@ -# CivicComms Agent Board + + +# Townlight Communications Agent Board ## Operating Contract -- Upstream suite spec: `CivicSuite/civicsuite/docs/CivicSuiteUnifiedSpec.md`, especially the CivicComms catalog entry and suite-wide non-negotiables. -- CivicComms supports source-backed public explainers, meeting summaries, ordinance summaries, newsletters, FAQs, and audience-specific draft variants. +- Upstream suite spec: `townlight/townlight/docs/CivicSuiteUnifiedSpec.md`, especially the Townlight Communications catalog entry and suite-wide non-negotiables. +- Townlight Communications supports source-backed public explainers, meeting summaries, ordinance summaries, newsletters, FAQs, and audience-specific draft variants. - AGPL-3.0-only for code (with the TownLight Public Institution Exception for qualifying deployments), CC BY 4.0 for documentation. - Every change must keep docs, tests, browser QA evidence, and version surfaces in sync. ## Hard Boundaries -- CivicComms never publishes autonomously, creates campaign or advocacy content, provides legal advice, certifies translations, posts to social media, or updates a communications system of record. -- CivicComms v0.1.1 must not call live LLMs or live publishing/social-media/communications systems. +- Townlight Communications never publishes autonomously, creates campaign or advocacy content, provides legal advice, certifies translations, posts to social media, or updates a communications system of record. +- Townlight Communications v0.1.1 must not call live LLMs or live publishing/social-media/communications systems. - Every generated artifact is a draft requiring staff review, citation verification, approval, and publication through official city channels. -- CivicComms depends on CivicCore; CivicCore must never depend on CivicComms. -- CivicComms may reference CivicClerk, CivicCode, and CivicAccess concepts only through released APIs or deterministic sample data in v0.1.1. +- Townlight Communications depends on Townlight Core; Townlight Core must never depend on Townlight Communications. +- Townlight Communications may reference Townlight Meetings, Townlight Code, and Townlight Access concepts only through released APIs or deterministic sample data in v0.1.1. ## Verification diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0dd5304..a68013f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,8 @@ -# Contributing to CivicComms + -Thank you for helping CivicComms become useful municipal software. +# Contributing to Townlight Communications + +Thank you for helping Townlight Communications become useful municipal software. ## Local setup @@ -12,7 +14,7 @@ bash scripts/verify-release.sh ## Boundaries -- CivicComms gives source-backed communication draft support, not autonomous publication, campaign content, legal advice, certified translation, or official social media posting. +- Townlight Communications gives source-backed communication draft support, not autonomous publication, campaign content, legal advice, certified translation, or official social media posting. - Do not present generated summaries, explainers, newsletters, FAQs, or audience variants as publish-ready without staff review and citation verification. - Do not add live LLM, social-media, publishing-system, or communications-system integrations without updating docs, tests, browser QA evidence, and the release gate. diff --git a/README.md b/README.md index 24d5c9c..aa5aec1 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,14 @@ -# CivicComms + -CivicComms is the CivicSuite module for source-backed public explainers, meeting summaries, ordinance summaries, newsletters, FAQs, and audience-specific draft variants. +# Townlight Communications + +Townlight Communications is the Townlight module for source-backed public explainers, meeting summaries, ordinance summaries, newsletters, FAQs, and audience-specific draft variants. Current state: **v0.1.1 public communications foundation plus draft persistence release**. This repo ships a FastAPI package, health/root endpoints, documentation gates, deterministic source-readiness review, meeting summary draft outlines, optional database-backed source review and meeting summary draft records, ordinance explainer drafts, newsletter scaffolds, FAQ prompts, audience-variant drafts, and accessible public sample UI at `/civiccomms`. It does **not** ship autonomous publication, campaign or advocacy content, legal advice, certified translation, live LLM calls, social media posting, or communications system-of-record integrations. -## What CivicComms Does + + +## What Townlight Communications Does - Check that draft work starts from named source material and citations. - Create deterministic meeting summary draft outlines. @@ -14,7 +18,9 @@ Current state: **v0.1.1 public communications foundation plus draft persistence - Produce audience-specific variants without changing source facts. - Demonstrate a public communications-support UI at `/civiccomms`. -## What CivicComms Does Not Do + + +## What Townlight Communications Does Not Do - It does not publish or post autonomously. - It does not produce campaign, advocacy, or partisan content. @@ -26,7 +32,7 @@ Current state: **v0.1.1 public communications foundation plus draft persistence ## API Surface - `GET /` returns the shipped/planned boundary. -- `GET /health` returns package and CivicCore versions. +- `GET /health` returns package and Townlight Core versions. - `GET /civiccomms` returns the accessible public sample UI. - `POST /api/v1/civiccomms/source-review` returns source-readiness checks. - `GET /api/v1/civiccomms/source-review/{review_id}` retrieves a persisted source review when `CIVICCOMMS_DRAFT_DB_URL` is configured. @@ -39,11 +45,11 @@ Current state: **v0.1.1 public communications foundation plus draft persistence ## Optional Persistence -Set `CIVICCOMMS_DRAFT_DB_URL` to enable local SQLAlchemy-backed source review and meeting summary records. Without that variable, CivicComms remains deterministic and stateless. Retrieval endpoints return actionable `503` responses that name the required configuration. +Set `CIVICCOMMS_DRAFT_DB_URL` to enable local SQLAlchemy-backed source review and meeting summary records. Without that variable, Townlight Communications remains deterministic and stateless. Retrieval endpoints return actionable `503` responses that name the required configuration. ## Local Development -CivicComms v0.1.1 is pinned to `civiccore==0.3.0`. +Townlight Communications v0.1.1 is pinned to `civiccore==0.3.0`. ```bash python -m pip install -e ".[dev]" diff --git a/README.txt b/README.txt index ca449b4..f5d5377 100644 --- a/README.txt +++ b/README.txt @@ -1,7 +1,7 @@ -CivicComms +Townlight Communications ========== -CivicComms is the CivicSuite module for source-backed public explainers, meeting summaries, ordinance summaries, newsletters, FAQs, and audience-specific draft variants. +Townlight Communications is the Townlight module for source-backed public explainers, meeting summaries, ordinance summaries, newsletters, FAQs, and audience-specific draft variants. Current state: v0.1.1 public communications foundation plus draft persistence release. This repo ships a FastAPI package, health/root endpoints, documentation gates, deterministic source-readiness review, meeting summary draft outlines, optional database-backed source review and meeting summary draft records, ordinance explainer drafts, newsletter scaffolds, FAQ prompts, audience-variant drafts, and accessible public sample UI at /civiccomms. @@ -20,7 +20,7 @@ API: - POST /api/v1/civiccomms/faq - POST /api/v1/civiccomms/audience-variant -Optional persistence: set CIVICCOMMS_DRAFT_DB_URL to enable SQLAlchemy-backed source review and meeting summary draft records. Without it, CivicComms remains deterministic and stateless. +Optional persistence: set CIVICCOMMS_DRAFT_DB_URL to enable SQLAlchemy-backed source review and meeting summary draft records. Without it, Townlight Communications remains deterministic and stateless. Run: diff --git a/SECURITY.md b/SECURITY.md index 16779dc..1058a52 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,5 +1,5 @@ # Security Policy -CivicComms is early-stage software. Current version: `0.1.1`. Do not deploy it as a communications system of record until a release explicitly says it is production-ready. +Townlight Communications is early-stage software. Current version: `0.1.1`. Do not deploy it as a communications system of record until a release explicitly says it is production-ready. Report security issues privately through GitHub Security Advisories when available. Do not disclose exploitable details in public issues. diff --git a/SUPPORT.md b/SUPPORT.md index ae084b7..5d022d5 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -1,5 +1,5 @@ # Support -CivicComms is not a hosted service. Cities or implementers operate their own installation. +Townlight Communications is not a hosted service. Cities or implementers operate their own installation. For bugs, use GitHub Issues. For security concerns, use GitHub Security Advisories when available. diff --git a/USER-MANUAL.md b/USER-MANUAL.md index 09b01b9..1cc31ba 100644 --- a/USER-MANUAL.md +++ b/USER-MANUAL.md @@ -1,14 +1,16 @@ -# CivicComms User Manual + + +# Townlight Communications User Manual ## For Non-Technical Users -CivicComms helps staff turn city source material into public-facing draft communications. It can review whether sources and citations are present, outline meeting summaries, draft ordinance explainers, structure newsletters, suggest FAQ prompts, and create audience-specific variants. +Townlight Communications helps staff turn city source material into public-facing draft communications. It can review whether sources and citations are present, outline meeting summaries, draft ordinance explainers, structure newsletters, suggest FAQ prompts, and create audience-specific variants. -Current state: `0.1.1` public communications foundation plus draft persistence release. CivicComms can optionally save source review and meeting summary draft records when IT configures `CIVICCOMMS_DRAFT_DB_URL`. CivicComms does not publish or post autonomously, create campaign or advocacy content, provide legal advice, certify translations, call live LLMs, post to social media, or replace a communications system of record. Staff own every draft, citation, approval, and publication decision. +Current state: `0.1.1` public communications foundation plus draft persistence release. Townlight Communications can optionally save source review and meeting summary draft records when IT configures `CIVICCOMMS_DRAFT_DB_URL`. Townlight Communications does not publish or post autonomously, create campaign or advocacy content, provide legal advice, certify translations, call live LLMs, post to social media, or replace a communications system of record. Staff own every draft, citation, approval, and publication decision. ## For IT and Technical Staff -CivicComms is a FastAPI Python package pinned to `civiccore==0.3.0`. The current runtime exposes: +Townlight Communications is a FastAPI Python package pinned to `civiccore==0.3.0`. The current runtime exposes: - `GET /` - `GET /health` @@ -30,7 +32,7 @@ python -m pytest -q bash scripts/verify-release.sh ``` -Set `CIVICCOMMS_DRAFT_DB_URL` to enable local SQLAlchemy-backed source review and meeting summary draft records. If the variable is not set, CivicComms keeps deterministic stateless behavior and retrieval endpoints return actionable configuration guidance. +Set `CIVICCOMMS_DRAFT_DB_URL` to enable local SQLAlchemy-backed source review and meeting summary draft records. If the variable is not set, Townlight Communications keeps deterministic stateless behavior and retrieval endpoints return actionable configuration guidance. ## Architecture @@ -44,4 +46,4 @@ flowchart LR CivicComms --> Drafts["Human-approved draft artifacts"] ``` -CivicComms depends on CivicCore. CivicCore does not depend on CivicComms. CivicComms v0.1.1 uses deterministic sample source-backed drafting plus optional local draft persistence; autonomous publication, campaign or advocacy content, legal advice, certified translation, live LLM calls, social media posting, and production communications-system integrations are future work. +Townlight Communications depends on Townlight Core. Townlight Core does not depend on Townlight Communications. Townlight Communications v0.1.1 uses deterministic sample source-backed drafting plus optional local draft persistence; autonomous publication, campaign or advocacy content, legal advice, certified translation, live LLM calls, social media posting, and production communications-system integrations are future work. diff --git a/USER-MANUAL.txt b/USER-MANUAL.txt index 78ec8ae..1d99b9e 100644 --- a/USER-MANUAL.txt +++ b/USER-MANUAL.txt @@ -1,17 +1,17 @@ -CivicComms User Manual +Townlight Communications User Manual ====================== For Non-Technical Users ----------------------- -CivicComms helps staff turn city source material into public-facing draft communications. It can review whether sources and citations are present, outline meeting summaries, draft ordinance explainers, structure newsletters, suggest FAQ prompts, and create audience-specific variants. +Townlight Communications helps staff turn city source material into public-facing draft communications. It can review whether sources and citations are present, outline meeting summaries, draft ordinance explainers, structure newsletters, suggest FAQ prompts, and create audience-specific variants. -Current state: 0.1.1 public communications foundation plus draft persistence release. CivicComms can optionally save source review and meeting summary draft records when IT configures CIVICCOMMS_DRAFT_DB_URL. CivicComms does not publish or post autonomously, create campaign or advocacy content, provide legal advice, certify translations, call live LLMs, post to social media, or replace a communications system of record. Staff own every draft, citation, approval, and publication decision. +Current state: 0.1.1 public communications foundation plus draft persistence release. Townlight Communications can optionally save source review and meeting summary draft records when IT configures CIVICCOMMS_DRAFT_DB_URL. Townlight Communications does not publish or post autonomously, create campaign or advocacy content, provide legal advice, certify translations, call live LLMs, post to social media, or replace a communications system of record. Staff own every draft, citation, approval, and publication decision. For IT and Technical Staff -------------------------- -CivicComms is a FastAPI Python package pinned to civiccore==0.3.0. The current runtime exposes: +Townlight Communications is a FastAPI Python package pinned to civiccore==0.3.0. The current runtime exposes: - GET / - GET /health @@ -31,9 +31,9 @@ python -m pip install -e ".[dev]" python -m pytest -q bash scripts/verify-release.sh -Set CIVICCOMMS_DRAFT_DB_URL to enable local SQLAlchemy-backed source review and meeting summary draft records. If the variable is not set, CivicComms keeps deterministic stateless behavior and retrieval endpoints return actionable configuration guidance. +Set CIVICCOMMS_DRAFT_DB_URL to enable local SQLAlchemy-backed source review and meeting summary draft records. If the variable is not set, Townlight Communications keeps deterministic stateless behavior and retrieval endpoints return actionable configuration guidance. Architecture ------------ -CivicComms depends on CivicCore. CivicCore does not depend on CivicComms. CivicComms v0.1.1 uses deterministic sample source-backed drafting plus optional local draft persistence; autonomous publication, campaign or advocacy content, legal advice, certified translation, live LLM calls, social media posting, and production communications-system integrations are future work. +Townlight Communications depends on Townlight Core. Townlight Core does not depend on Townlight Communications. Townlight Communications v0.1.1 uses deterministic sample source-backed drafting plus optional local draft persistence; autonomous publication, campaign or advocacy content, legal advice, certified translation, live LLM calls, social media posting, and production communications-system integrations are future work. diff --git a/civiccomms/__init__.py b/civiccomms/__init__.py index a762161..db5e542 100644 --- a/civiccomms/__init__.py +++ b/civiccomms/__init__.py @@ -1,3 +1,3 @@ -"""CivicComms runtime foundation package.""" +"""Townlight Communications runtime foundation package.""" __version__ = "0.1.1" diff --git a/civiccomms/audience_variants.py b/civiccomms/audience_variants.py index dd6f170..cc70c7e 100644 --- a/civiccomms/audience_variants.py +++ b/civiccomms/audience_variants.py @@ -1,4 +1,4 @@ -"""Audience variant draft helper for CivicComms.""" +"""Audience variant draft helper for Townlight Communications.""" from dataclasses import dataclass @@ -24,7 +24,7 @@ def draft_audience_variant( review_notes=[ "Verify this version preserves the source facts.", "Confirm tone is neutral, factual, and non-advocacy.", - "Send multilingual or accessibility variants through CivicAccess review.", + "Send multilingual or accessibility variants through Townlight Access review.", ], boundary="Variant draft only; no autonomous posting or translation certification.", ) diff --git a/civiccomms/faq.py b/civiccomms/faq.py index 68431f1..c4f7839 100644 --- a/civiccomms/faq.py +++ b/civiccomms/faq.py @@ -1,4 +1,4 @@ -"""FAQ draft helper for CivicComms.""" +"""FAQ draft helper for Townlight Communications.""" from dataclasses import dataclass diff --git a/civiccomms/main.py b/civiccomms/main.py index 68e4612..ea47d0f 100644 --- a/civiccomms/main.py +++ b/civiccomms/main.py @@ -1,4 +1,4 @@ -"""FastAPI runtime foundation for CivicComms.""" +"""FastAPI runtime foundation for Townlight Communications.""" import os @@ -23,9 +23,9 @@ app = FastAPI( - title="CivicComms", + title='Townlight Communications', version=__version__, - description="Source-backed public explainers, meeting summaries, newsletters, FAQs, and audience-variant draft support for CivicSuite.", + description='Source-backed public explainers, meeting summaries, newsletters, FAQs, and audience-variant draft support for Townlight.', ) _draft_repository: CommunicationsDraftRepository | None = None @@ -81,14 +81,14 @@ def root() -> dict[str, str]: "version": __version__, "status": "public communications foundation plus draft persistence", "message": ( - "CivicComms package, API foundation, source review, meeting summary drafts, " + "Townlight Communications package, API foundation, source review, meeting summary drafts, " "ordinance explainers, newsletter outlines, FAQ prompts, audience variants, optional " "database-backed source review and meeting summary draft records, and public UI foundation " "are online; autonomous publication, campaign content, legal advice, certified translation, " "live LLM calls, social media posting, and communications system-of-record integrations are " "not implemented yet." ), - "next_step": "Post-v0.1.1 roadmap: source connector imports, CivicAccess review handoff, and approval queues", + "next_step": "Post-v0.1.1 roadmap: source connector imports, Townlight Access review handoff, and approval queues", } @@ -135,7 +135,7 @@ def get_source_review(review_id: str) -> dict[str, object]: raise HTTPException( status_code=503, detail={ - "message": "CivicComms draft persistence is not configured.", + "message": "Townlight Communications draft persistence is not configured.", "fix": "Set CIVICCOMMS_DRAFT_DB_URL to retrieve persisted source review records.", }, ) @@ -179,7 +179,7 @@ def get_meeting_summary(summary_id: str) -> dict[str, object]: raise HTTPException( status_code=503, detail={ - "message": "CivicComms draft persistence is not configured.", + "message": "Townlight Communications draft persistence is not configured.", "fix": "Set CIVICCOMMS_DRAFT_DB_URL to retrieve persisted meeting summary records.", }, ) diff --git a/civiccomms/meeting_summary.py b/civiccomms/meeting_summary.py index 3cca4f7..040ac0c 100644 --- a/civiccomms/meeting_summary.py +++ b/civiccomms/meeting_summary.py @@ -1,4 +1,4 @@ -"""Meeting summary draft helper for CivicComms.""" +"""Meeting summary draft helper for Townlight Communications.""" from dataclasses import dataclass diff --git a/civiccomms/newsletter.py b/civiccomms/newsletter.py index 3917e3c..c2f4d64 100644 --- a/civiccomms/newsletter.py +++ b/civiccomms/newsletter.py @@ -1,4 +1,4 @@ -"""Newsletter and public update draft helper for CivicComms.""" +"""Newsletter and public update draft helper for Townlight Communications.""" from dataclasses import dataclass diff --git a/civiccomms/ordinance_summary.py b/civiccomms/ordinance_summary.py index 866e447..a9fe913 100644 --- a/civiccomms/ordinance_summary.py +++ b/civiccomms/ordinance_summary.py @@ -1,4 +1,4 @@ -"""Plain-language ordinance summary helper for CivicComms.""" +"""Plain-language ordinance summary helper for Townlight Communications.""" from dataclasses import dataclass diff --git a/civiccomms/public_ui.py b/civiccomms/public_ui.py index 960e44b..c5ab515 100644 --- a/civiccomms/public_ui.py +++ b/civiccomms/public_ui.py @@ -1,4 +1,4 @@ -"""Accessible public sample UI for CivicComms.""" +"""Accessible public sample UI for Townlight Communications.""" def render_public_lookup_page() -> str: @@ -10,7 +10,7 @@ def render_public_lookup_page() -> str: -CivicComms - public explainer support +Townlight Communications - public explainer support
-

CivicSuite / CivicComms

+

Townlight / Townlight Communications

Explain city work without losing the source trail.

-

CivicComms v0.1.1 ships a foundation for source-readiness review, meeting summary outlines, optional database-backed draft records, ordinance explainers, newsletters, FAQ prompts, and audience-specific draft variants.

+

Townlight Communications v0.1.1 ships a foundation for source-readiness review, meeting summary outlines, optional database-backed draft records, ordinance explainers, newsletters, FAQ prompts, and audience-specific draft variants.

Shipping v0.1.1

What ships

  • Source-readiness checks.
  • Meeting summary draft outlines.
  • Optional draft persistence with CIVICCOMMS_DRAFT_DB_URL.
  • Ordinance explainer drafts.
  • Newsletter and FAQ scaffolds.
  • Audience variant drafts.
  • Public sample UI at /civiccomms.
-

What does not ship

CivicComms does not publish autonomously, create campaign or advocacy content, provide legal advice, certify translations, call live LLMs, post to social media, or replace a communications system of record.

- -

Dependency

Pinned to civiccore==0.3.0. CivicCore remains dependency-only; it never imports from CivicComms.

+

What does not ship

Townlight Communications does not publish autonomously, create campaign or advocacy content, provide legal advice, certify translations, call live LLMs, post to social media, or replace a communications system of record.

+ +

Dependency

Pinned to civiccore==0.3.0. Townlight Core remains dependency-only; it never imports from Townlight Communications.

diff --git a/pyproject.toml b/pyproject.toml index c122a78..e8259c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "hatchling.build" [project] name = "civiccomms" version = "0.1.1" -description = "CivicComms runtime foundation for source-backed public explainers, meeting summaries, newsletters, FAQs, and audience variants." +description = "Townlight Communications runtime foundation for source-backed public explainers, meeting summaries, newsletters, FAQs, and audience variants." readme = "README.md" requires-python = ">=3.11" license = { text = "AGPL-3.0-only" } diff --git a/scripts/verify-docs.sh b/scripts/verify-docs.sh index d476168..bdf8cf8 100644 --- a/scripts/verify-docs.sh +++ b/scripts/verify-docs.sh @@ -35,7 +35,7 @@ if grep -RInE 'Civic311|civic311|Open311|system-of-record integrations are onlin exit 1 fi -for token in CivicComms civiccomms "v0.1.1" "civiccore==0.3.0"; do +for token in "Townlight Communications" civiccomms "v0.1.1" "civiccore==0.3.0"; do if ! grep -RIn "$token" README.md USER-MANUAL.md docs/index.html CHANGELOG.md >/dev/null; then echo "FAIL: expected token missing from current-facing docs: $token" >&2 exit 1 diff --git a/tests/test_civiccomms_foundation.py b/tests/test_civiccomms_foundation.py index 2c75004..74d047d 100644 --- a/tests/test_civiccomms_foundation.py +++ b/tests/test_civiccomms_foundation.py @@ -109,7 +109,7 @@ def test_public_ui_route_is_accessible_and_honest() -> None: response = client.get("/civiccomms") assert response.status_code == 200 - assert "CivicComms v0.1.1" in response.text + assert "Townlight Communications v0.1.1" in response.text assert "Human approval required" in response.text assert "no campaign" in response.text.lower() assert "live LLM calls" in response.text diff --git a/tests/test_production_depth_draft_persistence.py b/tests/test_production_depth_draft_persistence.py index 741e82f..d236af3 100644 --- a/tests/test_production_depth_draft_persistence.py +++ b/tests/test_production_depth_draft_persistence.py @@ -81,7 +81,7 @@ def test_get_source_review_without_persistence_returns_actionable_503(monkeypatc assert response.status_code == 503 detail = response.json()["detail"] - assert detail["message"] == "CivicComms draft persistence is not configured." + assert detail["message"] == "Townlight Communications draft persistence is not configured." assert "Set CIVICCOMMS_DRAFT_DB_URL" in detail["fix"]