blob: f18a73e54589585325ae7ed7d24f5d09f79525dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 2015-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
import textwrap
import pytest
import pytest_bdd as bdd
bdd.scenarios('hints.feature')
@pytest.fixture(autouse=True)
def set_up_word_hints(tmpdir, quteproc):
dict_file = tmpdir / 'dict'
dict_file.write(textwrap.dedent("""
one
two
three
four
five
six
seven
eight
nine
ten
eleven
twelve
thirteen
"""))
quteproc.set_setting('hints.dictionary', str(dict_file))
|