history tests: Sync with :save better
This commit is contained in:
parent
d40e8e1c2f
commit
01a622bf02
@ -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)))
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user