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

Function test_async_links

tests/test_requests_html.py:108–113  ·  view source on GitHub ↗
(async_get)

Source from the content-addressed store, hash-verified

106@pytest.mark.ok
107@pytest.mark.asyncio
108async def test_async_links(async_get):
109 r = await async_get()
110 about = r.html.find('#about', first=True)
111
112 assert len(about.links) == 6
113 assert len(about.absolute_links) == 6
114
115
116@pytest.mark.ok

Callers

nothing calls this directly

Calls 2

async_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…