chg: test: add url for test title fetch

This commit is contained in:
rachmadaniHaryono 2018-08-01 17:30:46 +08:00
parent 79746c1f83
commit 8180711a33

View File

@ -553,6 +553,16 @@ def test_sigint_handler(capsys):
['http://example.com/page1.txt', (('', 1, 0))],
['about:new_page', (('', 0, 1))],
['chrome://version/', (('', 0, 1))],
['chrome://version/', (('', 0, 1))],
['http://4pda.ru/forum/index.php?showtopic=182463&st=1640#entry6044923', None],
[
'https://www.google.ru/search?'
'newwindow=1&safe=off&q=xkbcomp+alt+gr&'
'oq=xkbcomp+alt+gr&'
'gs_l=serp.3..33i21.28976559.28977886.0.'
'28978017.6.6.0.0.0.0.167.668.0j5.5.0....0...1c.1.64.'
'serp..1.2.311.06cSKPTLo18', None
],
]
)
def test_network_handler_with_url(url, exp_res):