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