Commit 5573271
fix: use AsyncMock to fix coverage tracking in CI
Replace inner async function with patch.object + AsyncMock to avoid
coverage blind spot when the mock runs inside the server's task
context with pytest-xdist parallel workers.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 8c3981e commit 5573271
1 file changed
Lines changed: 9 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | 310 | | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
324 | 320 | | |
325 | 321 | | |
326 | 322 | | |
| |||
0 commit comments