summaryrefslogtreecommitdiff
path: root/tests/unit/browser/test_history.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2018-11-29 14:09:06 +0100
committerFlorian Bruhin <me@the-compiler.org>2018-11-29 14:18:11 +0100
commitb7de287e7bf053072eab47551e593d948fa8ced7 (patch)
treecdfc159315deaaaa6d229625c126e76c739c1d7d /tests/unit/browser/test_history.py
parentf9858733c1ba7d4500ad8b20bef281341dc12f12 (diff)
downloadqutebrowser-b7de287e7bf053072eab47551e593d948fa8ced7.tar.gz
qutebrowser-b7de287e7bf053072eab47551e593d948fa8ced7.zip
Move CommandError to api.cmdutils
Diffstat (limited to 'tests/unit/browser/test_history.py')
-rw-r--r--tests/unit/browser/test_history.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/browser/test_history.py b/tests/unit/browser/test_history.py
index 5b84eac4c..715b597b0 100644
--- a/tests/unit/browser/test_history.py
+++ b/tests/unit/browser/test_history.py
@@ -26,7 +26,7 @@ from PyQt5.QtCore import QUrl
from qutebrowser.browser import history
from qutebrowser.utils import objreg, urlutils, usertypes
-from qutebrowser.commands import cmdexc
+from qutebrowser.api import cmdutils
from qutebrowser.misc import sql
@@ -324,7 +324,7 @@ class TestDump:
def test_nonexistent(self, web_history, tmpdir):
histfile = tmpdir / 'nonexistent' / 'history'
- with pytest.raises(cmdexc.CommandError):
+ with pytest.raises(cmdutils.CommandError):
web_history.debug_dump_history(str(histfile))