(tmp_path)
| 17 | |
| 18 | |
| 19 | def test_on_startup_initializes_all(tmp_path): |
| 20 | _reset_lifecycle() |
| 21 | lc.on_startup(tmp_path) |
| 22 | assert lc._metrics is not None |
| 23 | assert lc._shadow is not None |
| 24 | assert lc._weight_tracker is not None |
| 25 | assert lc._initialized |
| 26 | _reset_lifecycle() |
| 27 | |
| 28 | |
| 29 | def test_on_shutdown_persists_state(tmp_path): |
nothing calls this directly
no test coverage detected