Commit 5fa9410
committed
test(extractor): also patch make_batch_provider in mock factory
LLMExtractor.__init__ also calls make_batch_provider eagerly, which
hits the same OpenAI() credential check. Local runs pass because
dotenv loads OPENAI_API_KEY at import; CI without an .env failed.1 parent 65ec7e4 commit 5fa9410
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
0 commit comments