mirror of
https://github.com/rio-labs/rio.git
synced 2026-01-06 05:09:43 -06:00
16 lines
474 B
Python
16 lines
474 B
Python
import rio.testing
|
|
|
|
|
|
async def test_fundamental_container_as_root() -> None:
|
|
def build() -> rio.Component:
|
|
return rio.Row(rio.Text("Hello"))
|
|
|
|
async with rio.testing.DummyClient(build) as test_client:
|
|
row_component = test_client.get_component(rio.Row)
|
|
text_component = test_client.get_component(rio.Text)
|
|
|
|
assert {
|
|
row_component,
|
|
text_component,
|
|
} <= test_client._last_updated_components
|