From 2ab03e624c3f203bf37f2d45bf36df1643f5ec51 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sat, 25 Oct 2025 00:37:30 -0400 Subject: [PATCH] fix rest of routes --- tests/conftest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 5a9e0a8..be57d57 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -77,12 +77,12 @@ def run_scraper_offline(fixture_text): if not url: raise AssertionError("AtCoder expects url routing") if "/contests/archive" in url: - return fixture_text("atcoder/atcoder_contests.html") + return fixture_text("atcoder/contests.html") if url.endswith("/tasks"): - return fixture_text("atcoder/atcoder_abc100_tasks.html") + return fixture_text("atcoder/abc100_tasks.html") if "/tasks/" in url: slug = url.rsplit("/", 1)[-1] - return fixture_text(f"atcoder/atcoder_task_{slug}.html") + return fixture_text(f"atcoder/task_{slug}.html") raise AssertionError(f"No fixture for AtCoder url={url!r}") def _router_codeforces(*, path: str | None = None, url: str | None = None) -> str: