From 422527d7e4908b98ce11b334836ab48c3ab63c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Misty=20De=20M=C3=A9o?= Date: Wed, 25 Jun 2025 15:46:39 -0700 Subject: [PATCH] tests: ruff fixes --- scripts/ytdlp_test.py | 2 +- tests/test_frontier.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/ytdlp_test.py b/scripts/ytdlp_test.py index 1b15545..92f1076 100644 --- a/scripts/ytdlp_test.py +++ b/scripts/ytdlp_test.py @@ -14,7 +14,7 @@ def brozzle_page(worker, page) -> bool: # This gets assigned after a video is captured; if an # exception was raised by yt-dlp, it never gets assigned. - if not "videos" in page: + if "videos" not in page: return False if len(page.videos) > 0: diff --git a/tests/test_frontier.py b/tests/test_frontier.py index a25d11b..e5d5b79 100644 --- a/tests/test_frontier.py +++ b/tests/test_frontier.py @@ -944,7 +944,6 @@ def test_max_claimed_sites(rethinker): ], "max_claimed_sites": 3, } - seeds_seen = [] job = brozzler.new_job(frontier, job_conf) assert job.id