From 7c1079392df2f9ee4c14a02b39c2774c47e98fb0 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 3 Mar 2018 10:08:40 -0500 Subject: [PATCH] really test it Signed-off-by: Kenneth Reitz --- tests/test_requests_html.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_requests_html.py b/tests/test_requests_html.py index 27a4af3..40cc7a3 100644 --- a/tests/test_requests_html.py +++ b/tests/test_requests_html.py @@ -50,6 +50,9 @@ def test_containing(): python = r.html.find(containing='python') assert len(python) == 191 + for e in python: + assert 'python' in e.full_text.lower() + @pytest.mark.ok def test_attrs(): r = get()