mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-09 23:13:07 -04:00
try waiting a little
This commit is contained in:
parent
03594413f9
commit
7f2d3485a6
1 changed files with 3 additions and 0 deletions
|
@ -846,6 +846,9 @@ def test_ydl_stitching(httpd):
|
||||||
pages = list(frontier.site_pages(site.id))
|
pages = list(frontier.site_pages(site.id))
|
||||||
assert len(pages) == 1
|
assert len(pages) == 1
|
||||||
page = pages[0]
|
page = pages[0]
|
||||||
|
while time.time() - start < 600 and not page.videos:
|
||||||
|
time.sleep(0.5)
|
||||||
|
page.refresh()
|
||||||
assert len(page.videos) == 6
|
assert len(page.videos) == 6
|
||||||
stitched_url = 'youtube-dl:00001:%s' % make_url(httpd, '/site10/')
|
stitched_url = 'youtube-dl:00001:%s' % make_url(httpd, '/site10/')
|
||||||
assert {
|
assert {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue