chg: test: remove test_get_page_title
This commit is contained in:
parent
77fc10b6ee
commit
098d0d5e71
@ -49,17 +49,6 @@ def test_is_ignored_mime(url, exp_res):
|
|||||||
assert exp_res == buku.is_ignored_mime(url)
|
assert exp_res == buku.is_ignored_mime(url)
|
||||||
|
|
||||||
|
|
||||||
def test_get_page_title():
|
|
||||||
"""test func."""
|
|
||||||
resp = mock.Mock()
|
|
||||||
parser = mock.Mock()
|
|
||||||
parser.parsed_title = 'doubled whitespace'
|
|
||||||
with mock.patch('buku.BukuHTMLParser', return_value=parser):
|
|
||||||
import buku
|
|
||||||
res = buku.get_page_title(resp)
|
|
||||||
assert res == 'doubled whitespace'
|
|
||||||
|
|
||||||
|
|
||||||
def test_gen_headers():
|
def test_gen_headers():
|
||||||
"""test func."""
|
"""test func."""
|
||||||
import buku
|
import buku
|
||||||
|
Loading…
x
Reference in New Issue
Block a user