mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-06-21 13:24:20 -04:00
oops remove pdb call
This commit is contained in:
parent
13130bd9d9
commit
e9c7606318
2 changed files with 3 additions and 4 deletions
2
setup.py
2
setup.py
|
@ -32,7 +32,7 @@ def find_package_data(package):
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='brozzler',
|
name='brozzler',
|
||||||
version='1.1b9.dev209',
|
version='1.1b9.dev210',
|
||||||
description='Distributed web crawling with browsers',
|
description='Distributed web crawling with browsers',
|
||||||
url='https://github.com/internetarchive/brozzler',
|
url='https://github.com/internetarchive/brozzler',
|
||||||
author='Noah Levitt',
|
author='Noah Levitt',
|
||||||
|
|
|
@ -143,8 +143,8 @@ def test_js_dialogs(httpd):
|
||||||
# 'http://localhost:%s/site4/print.html' % httpd.server_port)
|
# 'http://localhost:%s/site4/print.html' % httpd.server_port)
|
||||||
|
|
||||||
def test_page_videos(httpd):
|
def test_page_videos(httpd):
|
||||||
# test depends on behavior of youtube-dl, could fail and need to be
|
# test depends on behavior of youtube-dl and chromium, could fail and need
|
||||||
# adjusted on youtube-dl updates
|
# to be adjusted on youtube-dl or chromium updates
|
||||||
chrome_exe = brozzler.suggest_default_chrome_exe()
|
chrome_exe = brozzler.suggest_default_chrome_exe()
|
||||||
worker = brozzler.BrozzlerWorker(None)
|
worker = brozzler.BrozzlerWorker(None)
|
||||||
chrome_exe = brozzler.suggest_default_chrome_exe()
|
chrome_exe = brozzler.suggest_default_chrome_exe()
|
||||||
|
@ -152,7 +152,6 @@ def test_page_videos(httpd):
|
||||||
page = brozzler.Page(None, {
|
page = brozzler.Page(None, {
|
||||||
'url':'http://localhost:%s/site6/' % httpd.server_port})
|
'url':'http://localhost:%s/site6/' % httpd.server_port})
|
||||||
with brozzler.Browser(chrome_exe=chrome_exe) as browser:
|
with brozzler.Browser(chrome_exe=chrome_exe) as browser:
|
||||||
import pdb; pdb.set_trace()
|
|
||||||
worker.brozzle_page(browser, site, page)
|
worker.brozzle_page(browser, site, page)
|
||||||
assert page.videos
|
assert page.videos
|
||||||
assert len(page.videos) == 2
|
assert len(page.videos) == 2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue