From 6a97e98007fe38dd0b8a68e3e68ab33cac655912 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 6 Jan 2016 07:55:42 +0100 Subject: [PATCH] Fix lint. --- tests/integration/features/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/features/conftest.py b/tests/integration/features/conftest.py index 3c5f0fb38..84d9ce4a0 100644 --- a/tests/integration/features/conftest.py +++ b/tests/integration/features/conftest.py @@ -320,8 +320,8 @@ def check_contents(quteproc, filename): @bdd.then(bdd.parsers.parse('the page should contain the plaintext "{text}"')) -def check_contents(quteproc, text): - """Check the current page's content.""" +def check_contents_plain(quteproc, text): + """Check the current page's content based on a substring.""" content = quteproc.get_content().strip() assert text in content