mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-25 07:45:38 -04:00
tests: fix out of date frontier fixture
This commit is contained in:
parent
306e55d61a
commit
cb2ee89aee
1 changed files with 3 additions and 2 deletions
|
@ -68,6 +68,7 @@ def test_basics(rethinker):
|
|||
"seeds": [{"url": "http://example.com"}, {"url": "https://example.org/"}]
|
||||
},
|
||||
"status": "ACTIVE",
|
||||
"pdfs_only": False,
|
||||
"starts_and_stops": [{"start": job.starts_and_stops[0]["start"], "stop": None}],
|
||||
}
|
||||
|
||||
|
@ -83,11 +84,11 @@ def test_basics(rethinker):
|
|||
"last_disclaimed": brozzler.EPOCH_UTC,
|
||||
"scope": {"accepts": [{"ssurt": "com,example,//http:/"}]},
|
||||
"seed": "http://example.com",
|
||||
"skip_ytdlp": None,
|
||||
"starts_and_stops": [
|
||||
{"start": sites[0].starts_and_stops[0]["start"], "stop": None}
|
||||
],
|
||||
"status": "ACTIVE",
|
||||
"video_capture": "ENABLE_VIDEO_CAPTURE",
|
||||
}
|
||||
assert sites[1] == {
|
||||
"claimed": False,
|
||||
|
@ -97,7 +98,6 @@ def test_basics(rethinker):
|
|||
"last_disclaimed": brozzler.EPOCH_UTC,
|
||||
"scope": {"accepts": [{"ssurt": "org,example,//https:/"}]},
|
||||
"seed": "https://example.org/",
|
||||
"skip_ytdlp": None,
|
||||
"starts_and_stops": [
|
||||
{
|
||||
"start": sites[1].starts_and_stops[0]["start"],
|
||||
|
@ -105,6 +105,7 @@ def test_basics(rethinker):
|
|||
},
|
||||
],
|
||||
"status": "ACTIVE",
|
||||
"video_capture": "ENABLE_VIDEO_CAPTURE",
|
||||
}
|
||||
|
||||
pages = list(frontier.site_pages(sites[0].id))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue