From c143600c5bced816a9f15698f849e6c711853613 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sun, 5 Oct 2025 22:13:48 -0400 Subject: [PATCH] fix(tests): cleaunop --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index b4ca219..0843a4d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -132,7 +132,7 @@ def run_scraper_offline(fixture_text): def _run(scraper_name: str, mode: str, *args: str): mod_path = ROOT / "scrapers" / f"{scraper_name}.py" ns = _load_scraper_module(mod_path, scraper_name) - main_async = ns.get("main_async") + main_async = getattr(ns, "main_async", None) assert callable(main_async), f"main_async not found in {scraper_name}" argv = [str(mod_path), mode, *args]