blob: 88c6b0ca0669ff0c5b4d93860647d21c3b7f4494 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Copyright 2015-2021 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)
|