Fix refactoring issues
This commit is contained in:
parent
536a7ef1e6
commit
9c4ebb97d7
@ -22,8 +22,7 @@
|
||||
import inspect
|
||||
import typing
|
||||
|
||||
from qutebrowser.misc import objects
|
||||
from qutebrowser.utils import qtutils, log
|
||||
from qutebrowser.utils import qtutils
|
||||
from qutebrowser.commands import command, cmdexc
|
||||
|
||||
|
||||
|
@ -524,7 +524,7 @@ class Command:
|
||||
|
||||
def register(self):
|
||||
"""Register this command in objects.commands."""
|
||||
log.commands.vdebug( # type: ignore
|
||||
log.commands.vdebug(
|
||||
"Registering command {} (from {}:{})".format(
|
||||
self.name, self.handler.__module__, self.handler.__qualname__))
|
||||
if self.name in objects.commands:
|
||||
|
@ -197,7 +197,7 @@ Feature: Various utility commands.
|
||||
# We can't use "When I open" because we don't want to wait for load
|
||||
# finished
|
||||
When I run :open http://localhost:(port)/redirect-later?delay=-1
|
||||
And I wait for "emitting: cur_load_status_changed('loading') (tab *)" in the log
|
||||
And I wait for "emitting: cur_load_status_changed(<LoadStatus.loading: *>) (tab *)" in the log
|
||||
And I wait 1s
|
||||
And I run :stop
|
||||
And I open redirect-later-continue in a new tab
|
||||
|
Loading…
Reference in New Issue
Block a user