aboutsummaryrefslogtreecommitdiff
path: root/tests/test_cli.py
diff options
context:
space:
mode:
authorDennis Fink2026-11-21 14:49:28 +0100
committerDennis Fink2026-11-21 14:49:28 +0100
commitef90dc381322122ecfb9af039cf790de92807514 (patch)
tree9b81d9726b05fbd22e738bbc29ab6ec66536c11f /tests/test_cli.py
parenteb11fb64e9cad6fbda2065362189653416d98577 (diff)
downloadwebmentions-ssg-ef90dc381322122ecfb9af039cf790de92807514.tar.gz
webmentions-ssg-ef90dc381322122ecfb9af039cf790de92807514.zip
feat(sender): split source and delivery history
Add per-Webmention detail pages so delivery state, failure guidance, status URLs, and delivery history no longer crowd the source overview. Track source lifecycle events separately for discovery, revision, deletion, and restoration, and add a source-level action to resend only failed Webmentions.
Diffstat (limited to '')
-rw-r--r--tests/test_cli.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_cli.py b/tests/test_cli.py
index 1507544..d8781ea 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -916,8 +916,9 @@ def test_all_migrations_can_downgrade_to_empty_schema(database_app: Flask) -> No
assert tables <= {"alembic_version"}
if "alembic_version" in tables:
assert (
- connection.execute(sa.text("SELECT count(*) FROM alembic_version"))
- .scalar_one()
+ connection.execute(
+ sa.text("SELECT count(*) FROM alembic_version")
+ ).scalar_one()
== 0
)