Commit d9798c7
fix(dashboard): repair stale get_active_modes test double
_DummyAgent.get_active_modes() returned a bare list, but the real
SerenaAgent.get_active_modes() returns an ActiveModes instance and
dashboard._compute_config_overview() calls .get_modes() on it, so
test_config_overview_includes_tool_stats_totals raised AttributeError.
Return a stub exposing get_modes() to mirror the real API.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 6392037 commit d9798c7
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
0 commit comments