From 5062f69b518afe61dcbe30f62a59fdc8a733c465 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 26 Feb 2018 17:52:39 -0500 Subject: [PATCH] test full_text too Signed-off-by: Kenneth Reitz --- tests/test_requests_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_requests_html.py b/tests/test_requests_html.py index 326d98d..f15e406 100644 --- a/tests/test_requests_html.py +++ b/tests/test_requests_html.py @@ -29,6 +29,7 @@ def test_css_selector(): 'Python Brochure' ): assert menu_item in about.text.split('\n') + assert menu_item in about.full_text.split('\n') def test_attrs(): @@ -52,7 +53,6 @@ def test_search(): style = r.html.search('Python is a {} language')[0] assert style == 'programming' - def test_xpath(): r = get() html = r.html.xpath('/html', first=True)