summaryrefslogtreecommitdiff
path: root/tests/unit/utils/test_qtlog.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/utils/test_qtlog.py')
-rw-r--r--tests/unit/utils/test_qtlog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/utils/test_qtlog.py b/tests/unit/utils/test_qtlog.py
index 099a7a33f..3dd62b9a9 100644
--- a/tests/unit/utils/test_qtlog.py
+++ b/tests/unit/utils/test_qtlog.py
@@ -24,7 +24,7 @@ import logging
import pytest
from qutebrowser import qutebrowser
-from qutebrowser.utils import log, qtlog
+from qutebrowser.utils import qtlog
from qutebrowser.qt import core as qtcore
@@ -45,7 +45,7 @@ class TestQtMessageHandler:
def init_args(self):
parser = qutebrowser.get_argparser()
args = parser.parse_args([])
- log.init_log(args)
+ qtlog.init(args)
def test_empty_message(self, caplog):
"""Make sure there's no crash with an empty message."""