Fix style issues

This commit is contained in:
Jay Kamat 2019-02-01 23:25:22 -08:00
parent 09ce1bb8af
commit 3a9a75c1d5
No known key found for this signature in database
GPG Key ID: 5D2E399600F4F7B5
2 changed files with 3 additions and 2 deletions

View File

@ -597,7 +597,7 @@ class TabbedBrowser(QWidget):
else:
log.modes.debug("Ignoring leave_on_load request due to setting.")
modeman.leave(self._win_id, usertypes.KeyMode.hint,
'load started', maybe=True)
'load started', maybe=True)
@pyqtSlot(browsertab.AbstractTab, str)
def on_title_changed(self, tab, text):

View File

@ -92,7 +92,8 @@ def test_auto_leave_insert_mode_reload(quteproc, leave_on_load):
url_path = 'data/hello.txt'
quteproc.open_path(url_path)
quteproc.set_setting('input.insert_mode.leave_on_load', str(leave_on_load).lower())
quteproc.set_setting('input.insert_mode.leave_on_load',
str(leave_on_load).lower())
quteproc.send_cmd(':enter-mode insert')
quteproc.wait_for(message='Entering mode KeyMode.insert (reason: *)')
quteproc.send_cmd(':reload')