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

Function test_attrs

tests/test_requests_html.py:89–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87
88@pytest.mark.ok
89def test_attrs():
90 r = get()
91 about = r.html.find('#about', first=True)
92
93 assert 'aria-haspopup' in about.attrs
94 assert len(about.attrs['class']) == 2
95
96
97@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…