(test_state)
| 1102 | |
| 1103 | |
| 1104 | def test_get_query_params(test_state): |
| 1105 | assert test_state.router._page.params == {} |
| 1106 | |
| 1107 | params = {"p1": "a", "p2": "b"} |
| 1108 | test_state.router = RouterData.from_router_data({RouteVar.QUERY: params}) |
| 1109 | assert dict(test_state.router._page.params) == params |
| 1110 | |
| 1111 | |
| 1112 | def test_add_var(): |
nothing calls this directly
no test coverage detected