blob: e6ec3e093d6ae3e455ba4f49212431a526f954d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
import pytest_bdd as bdd
bdd.scenarios('completion.feature')
@bdd.then(bdd.parsers.parse("the completion model should be {model}"))
def check_model(quteproc, model):
"""Make sure the completion model was set to something."""
pattern = "Starting {} completion *".format(model)
quteproc.wait_for(message=pattern)
|