Don't compare requests triggered by loading a page
This commit is contained in:
parent
3466ee03f6
commit
a991a8c43c
@ -1,19 +1,9 @@
|
|||||||
background.png
|
background.png
|
||||||
background.png
|
|
||||||
base.css
|
base.css
|
||||||
base.css
|
|
||||||
complex.html
|
|
||||||
# There are no divs, so this image is only loaded when saving as mhtml
|
|
||||||
div-image.png
|
div-image.png
|
||||||
extern-css.css
|
extern-css.css
|
||||||
extern-css.css
|
|
||||||
external-in-external.css
|
|
||||||
external-in-external.css
|
external-in-external.css
|
||||||
favicon.png
|
favicon.png
|
||||||
favicon.png
|
|
||||||
image.gif
|
|
||||||
image.gif
|
image.gif
|
||||||
inline.png
|
inline.png
|
||||||
inline.png
|
|
||||||
script.js
|
|
||||||
script.js
|
script.js
|
||||||
|
@ -1 +0,0 @@
|
|||||||
simple.html
|
|
@ -83,6 +83,7 @@ def test_mhtml(test_name, download_dir, quteproc, httpbin):
|
|||||||
quteproc.open_path('{}/{}.html'.format(test_path, test_name))
|
quteproc.open_path('{}/{}.html'.format(test_path, test_name))
|
||||||
download_dest = os.path.join(download_dir.location,
|
download_dest = os.path.join(download_dir.location,
|
||||||
'{}-downloaded.mht'.format(test_name))
|
'{}-downloaded.mht'.format(test_name))
|
||||||
|
httpbin.after_test()
|
||||||
quteproc.send_cmd(':download --mhtml --dest "{}"'.format(download_dest))
|
quteproc.send_cmd(':download --mhtml --dest "{}"'.format(download_dest))
|
||||||
quteproc.wait_for(category='downloads', module='mhtml',
|
quteproc.wait_for(category='downloads', module='mhtml',
|
||||||
function='finish_file',
|
function='finish_file',
|
||||||
|
Loading…
Reference in New Issue
Block a user