From cba1d82f2f772d48c639fbad52f5b0ed45d9c5e9 Mon Sep 17 00:00:00 2001
From: kyokukou Daily moderator report for cs.AI If no further actions are taken, all submissions below not currently on hold will be announced at 09-03 20:00 EDT. 07-27 15:00 EDT cs.AI Frank Franky submit/210 Daily moderator report for cs.AI {announce_line()}On Hold:
\n'
'
\n'
'On Mod Hold
\n'
diff --git a/tests/daily_update/test_report.py b/tests/daily_update/test_report.py
index edc0ba6..d3c58cb 100644
--- a/tests/daily_update/test_report.py
+++ b/tests/daily_update/test_report.py
@@ -63,7 +63,7 @@ def test_header_text_is_the_whole_layout():
"\n"
f"{announce_line()}\n"
"\n"
- "Your moderation todo queue: https://check.arxiv.org/q/todo\n"
+ "Your moderation to-do queue: https://check.arxiv.org/q/todo\n"
)
@@ -71,7 +71,7 @@ def test_header_html_is_the_whole_layout():
assert render_header("cs.AI").html == (
"
\n'
'Mod Hold Author
\n'
'Proposals: none
07-27 18:00 EDT cs.AI Frank Franky submit/213
\n'
'A Discussed Paper
\n'
'Talky Author
\n'
diff --git a/tests/daily_update/test_report.py b/tests/daily_update/test_report.py
index d3c58cb..317ccbf 100644
--- a/tests/daily_update/test_report.py
+++ b/tests/daily_update/test_report.py
@@ -52,7 +52,7 @@ def _mod(labels=("cs.AI",), categories=("cs.AI",)) -> DigestMod:
# literals, so a reorder, a retitle or a dropped section fails here
def test_sections_are_in_this_order_with_these_headings():
- assert [section.value for section in Section] == ["On Hold", "New", "Cross Lists"]
+ assert [section.value for section in Section] == ["On Hold", "Scheduled for announcement", "Cross Lists"]
# ── header ──────────────────────────────────────────────────────────────────
@@ -132,7 +132,7 @@ def test_a_section_with_content_still_shows_none_under_the_empty_ones():
"On Hold:\n"
f" none\n"
"\n"
- "New:\n"
+ "Scheduled for announcement:\n"
"a new one\n"
"\n"
"Cross Lists:\n"
@@ -144,7 +144,7 @@ def test_a_section_with_content_still_shows_none_under_the_empty_ones():
assert body_html == (
"
none
\n" - "a new one
\n" "none
\n" @@ -154,7 +154,7 @@ def test_a_section_with_content_still_shows_none_under_the_empty_ones(): def test_sections_appear_in_this_order(): entries = {section: [Rendered(f"{section.value} entry\n", "\n")] for section in Section} text, _ = render_body("cs.AI", entries) - positions = [text.index(t) for t in ("On Hold:", "New:", "Cross Lists:")] + positions = [text.index(t) for t in ("On Hold:", "Scheduled for announcement:", "Cross Lists:")] assert positions == sorted(positions)