This commit is contained in:
Florian Bruhin 2016-04-05 12:40:46 +02:00
parent b5c177526c
commit 860853f66f

View File

@ -53,7 +53,8 @@ def download_should_exist(filename, tmpdir):
assert path.check()
@bdd.then(bdd.parsers.parse('The download prompt should be shown with "{path}"'))
@bdd.then(bdd.parsers.parse('The download prompt should be shown with '
'"{path}"'))
def download_prompt(tmpdir, quteproc, path):
full_path = path.replace('{downloaddir}', str(tmpdir)).replace('/', os.sep)
msg = ("Asking question <qutebrowser.utils.usertypes.Question "