Commit 25aeb9e
fix: properly reset mock call_count in test_hive_wait_for_lock
Setting `mock.call_count = 0` does not actually reset the mock's
internal call tracking, causing the second assertion to see accumulated
calls from both test phases. Use `reset_mock()` instead.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7d4a8ef commit 25aeb9e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1314 | 1314 | | |
1315 | 1315 | | |
1316 | 1316 | | |
| 1317 | + | |
1317 | 1318 | | |
1318 | | - | |
1319 | 1319 | | |
1320 | 1320 | | |
1321 | 1321 | | |
| |||
0 commit comments