Skip to content

Commit 111e310

Browse files
ksfikasclaude
andcommitted
Runs page test: do not look for a short piece of text that a random run id can contain
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 0508b00 commit 111e310

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_runs_page.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def test_junk_in_the_address_falls_back_to_the_defaults_and_is_never_echoed(clie
115115
_runs(harvest, source_id, 30)
116116
resp = _page(client, source_id, query)
117117
assert resp.status_code == 200 and "Showing 1&ndash;25 of <strong>30</strong>" in resp.text
118-
assert "garbage" not in resp.text and "13-45" not in resp.text
118+
assert "garbage" not in resp.text and "2026-13-45" not in resp.text # (whole values: a random run id may contain a short piece)
119119

120120

121121
def test_a_page_past_the_end_shows_the_last_page(client, harvest, source_id):

0 commit comments

Comments
 (0)