Commit c0501c1
fix: stdin rate_limits test needs mock credentials for OAuth gate
On CI there's no ~/.claude/.credentials.json, so _may_have_oauth is
false and the quota block is skipped entirely. The test now creates a
mock credentials file and sets HOME to the temp directory so the
OAuth gate passes and the stdin rate_limits fallback path is reached.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 79dfa6d commit c0501c1
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
| 568 | + | |
| 569 | + | |
568 | 570 | | |
569 | | - | |
| 571 | + | |
570 | 572 | | |
571 | 573 | | |
572 | 574 | | |
| |||
0 commit comments