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)