summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnder Punnar <ander@kvlt.ee>2021-04-09 01:22:19 +0300
committerAnder Punnar <ander@kvlt.ee>2021-04-09 01:22:19 +0300
commit4449fe914c93d95788fffa1073c9e862a18f2d4d (patch)
tree976093b103849fa80c90cf7c6da72ebffd757299 /tests
parente3eb603f798a4151d32690a6ec4f18bf0906daad (diff)
downloadqutebrowser-4449fe914c93d95788fffa1073c9e862a18f2d4d.tar.gz
qutebrowser-4449fe914c93d95788fffa1073c9e862a18f2d4d.zip
fix test
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/components/test_hostblock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/components/test_hostblock.py b/tests/unit/components/test_hostblock.py
index 8dd8d6dda..9344e1160 100644
--- a/tests/unit/components/test_hostblock.py
+++ b/tests/unit/components/test_hostblock.py
@@ -279,7 +279,7 @@ def test_disabled_blocking_per_url(config_stub, host_blocker_factory):
pattern = urlmatch.UrlPattern(example_com)
config_stub.set_obj("content.blocking.enabled", False, pattern=pattern)
- url = QUrl("blocked.example.com")
+ url = QUrl("https://blocked.example.com")
host_blocker = host_blocker_factory()
host_blocker._blocked_hosts.add(url.host())