Commit 831bbbb
fix(review): use AsyncMock for async _open_kitchen_handler in test
test_cold_open_kitchen_runs_handler patched _open_kitchen_handler with
MagicMock, but production code awaits it. await None raises TypeError.
Switch to AsyncMock so the mock returns an awaitable.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f22f009 commit 831bbbb
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| |||
0 commit comments