mirror of
https://github.com/rio-labs/rio.git
synced 2026-05-01 00:20:53 -05:00
15 lines
397 B
Python
15 lines
397 B
Python
from utils import create_mockapp
|
|
|
|
import rio
|
|
|
|
|
|
async def test_fundamental_container_as_root():
|
|
def build():
|
|
return rio.Row(rio.Text("Hello"))
|
|
|
|
async with create_mockapp(build) as app:
|
|
row_component = app.get_component(rio.Row)
|
|
text_component = app.get_component(rio.Text)
|
|
|
|
assert {row_component, text_component} <= app.last_updated_components
|