mirror of
https://github.com/kennethreitz/requests-html.git
synced 2026-06-05 23:00:20 +00:00
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user