Test that the class vars are set correctly. Args: test_state: A state.
(test_state)
| 379 | |
| 380 | |
| 381 | def test_class_vars(test_state): |
| 382 | """Test that the class vars are set correctly. |
| 383 | |
| 384 | Args: |
| 385 | test_state: A state. |
| 386 | """ |
| 387 | cls = type(test_state) |
| 388 | assert cls.vars.keys() == { |
| 389 | "router", |
| 390 | "num1", |
| 391 | "num2", |
| 392 | "key", |
| 393 | "map_key", |
| 394 | "array", |
| 395 | "mapping", |
| 396 | "obj", |
| 397 | "complex", |
| 398 | "sum", |
| 399 | "upper", |
| 400 | "fig", |
| 401 | "dt", |
| 402 | "asynctest", |
| 403 | "mixin", |
| 404 | } |
| 405 | |
| 406 | |
| 407 | def test_event_handlers(test_state): |