Fix lint.
This commit is contained in:
parent
02e30873e1
commit
6a97e98007
@ -320,8 +320,8 @@ def check_contents(quteproc, filename):
|
|||||||
|
|
||||||
|
|
||||||
@bdd.then(bdd.parsers.parse('the page should contain the plaintext "{text}"'))
|
@bdd.then(bdd.parsers.parse('the page should contain the plaintext "{text}"'))
|
||||||
def check_contents(quteproc, text):
|
def check_contents_plain(quteproc, text):
|
||||||
"""Check the current page's content."""
|
"""Check the current page's content based on a substring."""
|
||||||
content = quteproc.get_content().strip()
|
content = quteproc.get_content().strip()
|
||||||
assert text in content
|
assert text in content
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user