Commit a3e90a1
test(searcher): fix mock_col.count in CLI None-metadata test
_count_in_scope calls col.count() for unfiltered scopes; MagicMock
needs count.return_value set explicitly or comparison with int raises.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 4f10b71 commit a3e90a1
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
253 | 254 | | |
254 | 255 | | |
255 | 256 | | |
| |||
0 commit comments