MCPcopy Create free account
hub / github.com/psf/requests-html / test_browser_session_fail

Function test_browser_session_fail

tests/test_requests_html.py:320–324  ·  view source on GitHub ↗

HTMLSession.browser should not be call within an existing event loop>

()

Source from the content-addressed store, hash-verified

318@pytest.mark.ok
319@pytest.mark.asyncio
320async def test_browser_session_fail():
321 """ HTMLSession.browser should not be call within an existing event loop> """
322 session = HTMLSession()
323 with pytest.raises(RuntimeError):
324 session.browser
325
326
327@pytest.mark.ok

Callers

nothing calls this directly

Calls 1

HTMLSessionClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…