MCPcopy Index your code
hub / github.com/reactive-python/reactpy / display

Function display

src/py/reactpy/tests/test_backend/test_all.py:18–35  ·  view source on GitHub ↗
(page, request)

Source from the content-addressed store, hash-verified

16 ids=lambda imp: imp.__name__,
17)
18async def display(page, request):
19 imp: BackendType = request.param
20
21 # we do this to check that route priorities for each backend are correct
22 if imp is default_implementation:
23 url_prefix = ""
24 opts = None
25 else:
26 url_prefix = str(PATH_PREFIX)
27 opts = imp.Options(url_prefix=url_prefix)
28
29 async with BackendFixture(implementation=imp, options=opts) as server:
30 async with DisplayFixture(
31 backend=server,
32 driver=page,
33 url_prefix=url_prefix,
34 ) as display:
35 yield display
36
37
38async def test_display_simple_hello_world(display: DisplayFixture):

Callers

nothing calls this directly

Calls 2

BackendFixtureClass · 0.90
DisplayFixtureClass · 0.90

Tested by

no test coverage detected