mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-11-25 18:06:30 -05:00
chore: address ci formatting
This commit is contained in:
parent
96942d40f9
commit
4430605ef1
1 changed files with 2 additions and 3 deletions
|
|
@ -1077,15 +1077,14 @@ def test_many_active_claimed_sites_cross_job(rethinker):
|
||||||
"max_claimed_sites": 5,
|
"max_claimed_sites": 5,
|
||||||
}
|
}
|
||||||
|
|
||||||
seeds_seen = []
|
brozzler.new_job(frontier, job_conf_1)
|
||||||
job_1 = brozzler.new_job(frontier, job_conf_1)
|
|
||||||
|
|
||||||
# Claim all possible sites from job 1. We should only get 3 due to max_claimed_sites
|
# Claim all possible sites from job 1. We should only get 3 due to max_claimed_sites
|
||||||
claimed_sites_1 = frontier.claim_sites(4)
|
claimed_sites_1 = frontier.claim_sites(4)
|
||||||
assert len(claimed_sites_1) == 3
|
assert len(claimed_sites_1) == 3
|
||||||
|
|
||||||
# Add 5 more seeds
|
# Add 5 more seeds
|
||||||
job_2 = brozzler.new_job(frontier, job_conf_2)
|
brozzler.new_job(frontier, job_conf_2)
|
||||||
|
|
||||||
# We shouldn't have trouble getting seeds from job 2
|
# We shouldn't have trouble getting seeds from job 2
|
||||||
claimed_sites_1 = frontier.claim_sites(5)
|
claimed_sites_1 = frontier.claim_sites(5)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue