tests: ruff fixes
Some checks are pending
Python Formatting Check / formatting (push) Waiting to run
Tests / Run tests (push) Waiting to run

This commit is contained in:
Misty De Méo 2025-06-25 15:46:39 -07:00 committed by Misty De Méo
parent 70e4c3d7f6
commit 422527d7e4
2 changed files with 1 additions and 2 deletions

View file

@ -14,7 +14,7 @@ def brozzle_page(worker, page) -> bool:
# This gets assigned after a video is captured; if an # This gets assigned after a video is captured; if an
# exception was raised by yt-dlp, it never gets assigned. # exception was raised by yt-dlp, it never gets assigned.
if not "videos" in page: if "videos" not in page:
return False return False
if len(page.videos) > 0: if len(page.videos) > 0:

View file

@ -944,7 +944,6 @@ def test_max_claimed_sites(rethinker):
], ],
"max_claimed_sites": 3, "max_claimed_sites": 3,
} }
seeds_seen = []
job = brozzler.new_job(frontier, job_conf) job = brozzler.new_job(frontier, job_conf)
assert job.id assert job.id