Fix build break
This commit is contained in:
parent
f5d3ad16f0
commit
41d2089484
@ -620,7 +620,7 @@ def test_import_md(tmpdir, newtag, exp_res):
|
||||
<a> </a>""",
|
||||
((
|
||||
'https://github.com/j', 'GitHub', ',tag1,tag2,',
|
||||
'comment for the bookmark here\n', 0, True
|
||||
'comment for the bookmark here\n', 0, True, False
|
||||
),)
|
||||
),
|
||||
(
|
||||
@ -629,7 +629,7 @@ def test_import_md(tmpdir, newtag, exp_res):
|
||||
<a>second line of the comment here</a>""",
|
||||
((
|
||||
'https://github.com/j', 'GitHub', ',tag1,tag2,',
|
||||
'comment for the bookmark here\n ', 0, True
|
||||
'comment for the bookmark here\n ', 0, True, False
|
||||
),)
|
||||
),
|
||||
(
|
||||
@ -644,9 +644,9 @@ def test_import_md(tmpdir, newtag, exp_res):
|
||||
'comment for the bookmark here\n '
|
||||
'second line of the comment here\n '
|
||||
'third line of the comment here\n ',
|
||||
0, True
|
||||
0, True, False
|
||||
),
|
||||
('https://news.com/', 'News', ',tag1,tag2,tag3,', None, 0, True)
|
||||
('https://news.com/', 'News', ',tag1,tag2,tag3,', None, 0, True, False)
|
||||
)
|
||||
),
|
||||
(
|
||||
@ -655,7 +655,7 @@ def test_import_md(tmpdir, newtag, exp_res):
|
||||
<DD>comment for the bookmark here""",
|
||||
((
|
||||
'https://github.com/j', 'GitHub', ',tag1,tag2,',
|
||||
'comment for the bookmark here', 0, True
|
||||
'comment for the bookmark here', 0, True, False
|
||||
),)
|
||||
)
|
||||
|
||||
@ -668,7 +668,7 @@ def test_import_html(html_text, exp_res):
|
||||
html_soup = BeautifulSoup(html_text, 'html.parser')
|
||||
res = list(import_html(html_soup, False, None))
|
||||
for item, exp_item in zip(res, exp_res):
|
||||
assert item == exp_item
|
||||
assert item == exp_item, 'Actual item:\n{}'.format(item)
|
||||
|
||||
|
||||
def test_import_html_and_add_parent():
|
||||
@ -677,7 +677,7 @@ def test_import_html_and_add_parent():
|
||||
html_text = """<DT><H3>1s</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="http://example.com/"></A>"""
|
||||
exp_res = ('http://example.com/', None, ',1s,', None, 0, True)
|
||||
exp_res = ('http://example.com/', None, ',1s,', None, 0, True, False)
|
||||
html_soup = BeautifulSoup(html_text, 'html.parser')
|
||||
res = list(import_html(html_soup, True, None))
|
||||
assert res[0] == exp_res
|
||||
@ -690,7 +690,7 @@ def test_import_html_and_new_tag():
|
||||
<DD>comment for the bookmark here"""
|
||||
exp_res = (
|
||||
'https://github.com/j', 'GitHub', ',tag1,tag2,tag3,',
|
||||
'comment for the bookmark here', 0, True
|
||||
'comment for the bookmark here', 0, True, False
|
||||
)
|
||||
html_soup = BeautifulSoup(html_text, 'html.parser')
|
||||
res = list(import_html(html_soup, False, 'tag3'))
|
||||
|
@ -1,45 +1,45 @@
|
||||
? !!python/tuple ['http://voyagerlive.org/', Voyager, ',bookmarks bar,', null, 0,
|
||||
true]
|
||||
true, false]
|
||||
: {}
|
||||
? !!python/tuple ['http://wiki.ubuntu.com/', Ubuntu Wiki (community-edited website),
|
||||
',bookmarks bar,imported from firefox,ubuntu and free software links,', null, 0,
|
||||
true]
|
||||
true, false]
|
||||
: {}
|
||||
? !!python/tuple ['http://www.debian.org/', Debian (Ubuntu is based on Debian), ',bookmarks
|
||||
bar,imported from firefox,ubuntu and free software links,', null, 0, true]
|
||||
bar,imported from firefox,ubuntu and free software links,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['http://www.ubuntu.com/', Ubuntu, ',bookmarks bar,imported from
|
||||
firefox,ubuntu and free software links,', null, 0, true]
|
||||
firefox,ubuntu and free software links,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/adblock-plus/', Adblock
|
||||
Plus, ',bookmarks bar,f+,', null, 0, true]
|
||||
Plus, ',bookmarks bar,f+,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/searchpreview/', SearchPreview,
|
||||
',bookmarks bar,f+,', null, 0, true]
|
||||
',bookmarks bar,f+,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/language-tools/', Language
|
||||
Tools, ',bookmarks bar,f+,', null, 0, true]
|
||||
Tools, ',bookmarks bar,f+,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://answers.launchpad.net/ubuntu/+addquestion', Make a Support
|
||||
Request to the Ubuntu Community, ',bookmarks bar,imported from firefox,ubuntu
|
||||
and free software links,', null, 0, true]
|
||||
and free software links,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://one.ubuntu.com/', Ubuntu One - The personal cloud that
|
||||
brings your digital life together, ',bookmarks bar,imported from firefox,ubuntu
|
||||
and free software links,', null, 0, true]
|
||||
and free software links,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.google.com/', Google, ',other bookmarks,', null, 0,
|
||||
true]
|
||||
true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/about/', About Us, ',bookmarks bar,imported
|
||||
from firefox,mozilla firefox,', null, 0, true]
|
||||
from firefox,mozilla firefox,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/contribute/', Get Involved, ',bookmarks
|
||||
bar,imported from firefox,mozilla firefox,', null, 0, true]
|
||||
bar,imported from firefox,mozilla firefox,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/firefox/customize/', Customize Firefox,
|
||||
',bookmarks bar,imported from firefox,mozilla firefox,', null, 0, true]
|
||||
',bookmarks bar,imported from firefox,mozilla firefox,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/firefox/help/', Help and Tutorials,
|
||||
',bookmarks bar,imported from firefox,mozilla firefox,', null, 0, true]
|
||||
',bookmarks bar,imported from firefox,mozilla firefox,', null, 0, true, false]
|
||||
: {}
|
||||
|
@ -1,39 +1,39 @@
|
||||
? !!python/tuple ['http://voyagerlive.org/', Voyager, ',', null, 0, true]
|
||||
? !!python/tuple ['http://voyagerlive.org/', Voyager, ',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['http://wiki.ubuntu.com/', Ubuntu Wiki (community-edited website),
|
||||
',', null, 0, true]
|
||||
',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['http://www.debian.org/', Debian (Ubuntu is based on Debian), ',',
|
||||
null, 0, true]
|
||||
null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['http://www.ubuntu.com/', Ubuntu, ',', null, 0, true]
|
||||
? !!python/tuple ['http://www.ubuntu.com/', Ubuntu, ',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/adblock-plus/', Adblock
|
||||
Plus, ',', null, 0, true]
|
||||
Plus, ',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/searchpreview/', SearchPreview,
|
||||
',', null, 0, true]
|
||||
',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/language-tools/', Language
|
||||
Tools, ',', null, 0, true]
|
||||
Tools, ',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://answers.launchpad.net/ubuntu/+addquestion', Make a Support
|
||||
Request to the Ubuntu Community, ',', null, 0, true]
|
||||
Request to the Ubuntu Community, ',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://one.ubuntu.com/', Ubuntu One - The personal cloud that
|
||||
brings your digital life together, ',', null, 0, true]
|
||||
brings your digital life together, ',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.google.com/', Google, ',', null, 0, true]
|
||||
? !!python/tuple ['https://www.google.com/', Google, ',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/about/', About Us, ',', null, 0,
|
||||
true]
|
||||
true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/contribute/', Get Involved, ',',
|
||||
null, 0, true]
|
||||
null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/firefox/customize/', Customize Firefox,
|
||||
',', null, 0, true]
|
||||
',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/firefox/help/', Help and Tutorials,
|
||||
',', null, 0, true]
|
||||
',', null, 0, true, false]
|
||||
: {}
|
||||
|
@ -1,49 +1,49 @@
|
||||
? !!python/tuple ['http://voyagerlive.org/', Voyager, ',bookmarks toolbar,', null,
|
||||
0, true]
|
||||
0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['http://wiki.ubuntu.com/', Ubuntu Wiki (community-edited website),
|
||||
',bookmarks menu,ubuntu and free software links,', null, 0, true]
|
||||
',bookmarks menu,ubuntu and free software links,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['http://www.debian.org/', Debian (Ubuntu is based on Debian), ',bookmarks
|
||||
menu,ubuntu and free software links,', null, 0, true]
|
||||
menu,ubuntu and free software links,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['http://www.ubuntu.com/', Ubuntu, ',bookmarks menu,ubuntu and free
|
||||
software links,', null, 0, true]
|
||||
software links,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/adblock-plus/', '',
|
||||
',language,tags,', null, 0, true]
|
||||
',language,tags,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/adblock-plus/', Adblock
|
||||
Plus, ',bookmarks toolbar,f+,language,', null, 0, true]
|
||||
Plus, ',bookmarks toolbar,f+,language,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/searchpreview/', SearchPreview,
|
||||
',bookmarks toolbar,f+,', null, 0, true]
|
||||
',bookmarks toolbar,f+,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/language-tools/', '', ',hello,language,tags,',
|
||||
null, 0, true]
|
||||
null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/language-tools/', Language
|
||||
Tools, ',bookmarks toolbar,f+,hello,language,', null, 0, true]
|
||||
Tools, ',bookmarks toolbar,f+,hello,language,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://answers.launchpad.net/ubuntu/+addquestion', Make a Support
|
||||
Request to the Ubuntu Community, ',bookmarks menu,ubuntu and free software links,',
|
||||
null, 0, true]
|
||||
null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://one.ubuntu.com/', Ubuntu One - The personal cloud that
|
||||
brings your digital life together, ',bookmarks menu,ubuntu and free software links,',
|
||||
null, 0, true]
|
||||
null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.google.co.in/', '', ',bookmarks menu,', null, 0, true]
|
||||
? !!python/tuple ['https://www.google.co.in/', '', ',bookmarks menu,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/about/', About Us, ',bookmarks menu,mozilla
|
||||
firefox,', null, 0, true]
|
||||
firefox,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/contribute/', Get Involved, ',bookmarks
|
||||
menu,mozilla firefox,', null, 0, true]
|
||||
menu,mozilla firefox,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/firefox/customize/', Customize Firefox,
|
||||
',bookmarks menu,mozilla firefox,', null, 0, true]
|
||||
',bookmarks menu,mozilla firefox,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/firefox/help/', Help and Tutorials,
|
||||
',bookmarks menu,mozilla firefox,', null, 0, true]
|
||||
',bookmarks menu,mozilla firefox,', null, 0, true, false]
|
||||
: {}
|
||||
|
@ -1,45 +1,45 @@
|
||||
? !!python/tuple ['http://voyagerlive.org/', Voyager, ',', null, 0, true]
|
||||
? !!python/tuple ['http://voyagerlive.org/', Voyager, ',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['http://wiki.ubuntu.com/', Ubuntu Wiki (community-edited website),
|
||||
',', null, 0, true]
|
||||
',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['http://www.debian.org/', Debian (Ubuntu is based on Debian), ',',
|
||||
null, 0, true]
|
||||
null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['http://www.ubuntu.com/', Ubuntu, ',', null, 0, true]
|
||||
? !!python/tuple ['http://www.ubuntu.com/', Ubuntu, ',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/adblock-plus/', '',
|
||||
',language,', null, 0, true]
|
||||
',language,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/adblock-plus/', Adblock
|
||||
Plus, ',language,', null, 0, true]
|
||||
Plus, ',language,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/addon/searchpreview/', SearchPreview,
|
||||
',', null, 0, true]
|
||||
',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/language-tools/', '', ',hello,language,',
|
||||
null, 0, true]
|
||||
null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://addons.mozilla.org/fr/firefox/language-tools/', Language
|
||||
Tools, ',hello,language,', null, 0, true]
|
||||
Tools, ',hello,language,', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://answers.launchpad.net/ubuntu/+addquestion', Make a Support
|
||||
Request to the Ubuntu Community, ',', null, 0, true]
|
||||
Request to the Ubuntu Community, ',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://one.ubuntu.com/', Ubuntu One - The personal cloud that
|
||||
brings your digital life together, ',', null, 0, true]
|
||||
brings your digital life together, ',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.google.co.in/', '', ',', null, 0, true]
|
||||
? !!python/tuple ['https://www.google.co.in/', '', ',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/about/', About Us, ',', null, 0,
|
||||
true]
|
||||
true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/contribute/', Get Involved, ',',
|
||||
null, 0, true]
|
||||
null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/firefox/customize/', Customize Firefox,
|
||||
',', null, 0, true]
|
||||
',', null, 0, true, false]
|
||||
: {}
|
||||
? !!python/tuple ['https://www.mozilla.org/en-US/firefox/help/', Help and Tutorials,
|
||||
',', null, 0, true]
|
||||
',', null, 0, true, false]
|
||||
: {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user