summaryrefslogtreecommitdiff
path: root/tests/unit/config/test_configutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/config/test_configutils.py')
-rw-r--r--tests/unit/config/test_configutils.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/unit/config/test_configutils.py b/tests/unit/config/test_configutils.py
index e06463bb4..e7ce15aff 100644
--- a/tests/unit/config/test_configutils.py
+++ b/tests/unit/config/test_configutils.py
@@ -300,29 +300,6 @@ def test_domain_lookup_sparse_benchmark(url, values, benchmark):
benchmark(lambda: values.get_for_url(url))
-class TestWiden:
-
- @pytest.mark.parametrize('hostname, expected', [
- ('a.b.c', ['a.b.c', 'b.c', 'c']),
- ('foobarbaz', ['foobarbaz']),
- ('', []),
- ('.c', ['.c', 'c']),
- ('c.', ['c.']),
- ('.c.', ['.c.', 'c.']),
- (None, []),
- ])
- def test_widen_hostnames(self, hostname, expected):
- assert list(configutils._widened_hostnames(hostname)) == expected
-
- @pytest.mark.parametrize('hostname', [
- 'test.qutebrowser.org',
- 'a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.z.y.z',
- 'qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq.c',
- ])
- def test_bench_widen_hostnames(self, hostname, benchmark):
- benchmark(lambda: list(configutils._widened_hostnames(hostname)))
-
-
class TestFontFamilies:
@pytest.mark.parametrize('family_str, expected', [