mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-22 22:40:47 -04:00
tests: ruff fixes
This commit is contained in:
parent
70e4c3d7f6
commit
422527d7e4
2 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue