test full_text too

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-02-26 17:52:39 -05:00
parent ca6f11abec
commit 5062f69b51
+1 -1
View File
@@ -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)