()
| 1042 | |
| 1043 | |
| 1044 | def test_mount_repr() -> None: |
| 1045 | route = Mount( |
| 1046 | "/app", |
| 1047 | routes=[ |
| 1048 | Route("/", endpoint=homepage), |
| 1049 | ], |
| 1050 | ) |
| 1051 | # test for substring because repr(Router) returns unique object ID |
| 1052 | assert repr(route).startswith("Mount(path='/app', name='', app=") |
| 1053 | |
| 1054 | |
| 1055 | def test_mount_named_repr() -> None: |