Test that the token obtained from the router_data is correct. Args: test_state: The test state. router_data: The router data fixture.
(test_state, router_data)
| 1038 | |
| 1039 | |
| 1040 | def test_get_client_token(test_state, router_data): |
| 1041 | """Test that the token obtained from the router_data is correct. |
| 1042 | |
| 1043 | Args: |
| 1044 | test_state: The test state. |
| 1045 | router_data: The router data fixture. |
| 1046 | """ |
| 1047 | test_state.router = RouterData.from_router_data(router_data) |
| 1048 | assert ( |
| 1049 | test_state.router.session.client_token == "b181904c-3953-4a79-dc18-ae9518c22f05" |
| 1050 | ) |
| 1051 | |
| 1052 | |
| 1053 | def test_get_sid(test_state, router_data): |
nothing calls this directly
no test coverage detected