Fix lint.

This commit is contained in:
Florian Bruhin 2016-01-06 07:55:42 +01:00
parent 02e30873e1
commit 6a97e98007

View File

@ -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