MCPcopy
hub / github.com/psf/requests-html / test_css_selector

Function test_css_selector

tests/test_requests_html.py:64–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62
63@pytest.mark.ok
64def test_css_selector():
65 r = get()
66
67 about = r.html.find('#about', first=True)
68
69 for menu_item in (
70 'About', 'Applications', 'Quotes', 'Getting Started', 'Help',
71 'Python Brochure'
72 ):
73 assert menu_item in about.text.split('\n')
74 assert menu_item in about.full_text.split('\n')
75
76
77@pytest.mark.ok

Callers

nothing calls this directly

Calls 2

getFunction · 0.85
findMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…