summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-05-06 22:27:13 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-05-06 22:27:13 +0200
commitadec265201ecfe66df356d508597bcc6fa3806c7 (patch)
tree9db9c202a28b71c5db1411f2665f02c166035085 /tests
parent9b779f8b1dd4676c8c5fe425bb22975de5857bcf (diff)
downloadqutebrowser-adec265201ecfe66df356d508597bcc6fa3806c7.tar.gz
qutebrowser-adec265201ecfe66df356d508597bcc6fa3806c7.zip
Revert "Always make sure URLs for per-domain settings are valid"
This reverts commit 8e92b29cda7c4d8df7ab0c6d304778c1824a7a35. See #5414
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/config/test_configutils.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/unit/config/test_configutils.py b/tests/unit/config/test_configutils.py
index 7e1a7c744..8dfa75609 100644
--- a/tests/unit/config/test_configutils.py
+++ b/tests/unit/config/test_configutils.py
@@ -23,7 +23,7 @@ import pytest
from PyQt5.QtCore import QUrl
from qutebrowser.config import configutils, configdata, configtypes, configexc
-from qutebrowser.utils import urlmatch, usertypes, qtutils
+from qutebrowser.utils import urlmatch, usertypes
from tests.helpers import utils
@@ -145,11 +145,6 @@ def test_get_matching(values):
assert values.get_for_url(url, fallback=False) == 'example value'
-def test_get_invalid(values):
- with pytest.raises(qtutils.QtValueError):
- values.get_for_url(QUrl())
-
-
def test_get_unset(empty_values):
assert empty_values.get_for_url(fallback=False) is usertypes.UNSET