history tests: Sync with :save better

This commit is contained in:
Florian Bruhin 2016-06-08 22:32:39 +02:00
parent d40e8e1c2f
commit 01a622bf02
2 changed files with 2 additions and 1 deletions

View File

@ -210,3 +210,4 @@ class SaveManager(QObject):
except OSError as e:
message.error(win_id, "Could not save {}: "
"{}".format(key, e))
log.save.debug(":save saved {}".format(', '.join(what)))

View File

@ -27,7 +27,7 @@ bdd.scenarios('history.feature')
def check_history(quteproc, httpbin, expected):
history_file = os.path.join(quteproc.basedir, 'data', 'history')
quteproc.send_cmd(':save history')
quteproc.wait_for(message='Saved to *history')
quteproc.wait_for(message=':save saved history')
expected = expected.replace('(port)', str(httpbin.port)).splitlines()