(self, api)
| 99 | """Tests for OpenAIAPI initialization.""" |
| 100 | |
| 101 | def test_init_basic(self, api): |
| 102 | assert api.model == "test-model" |
| 103 | assert api.key == "test-key" |
| 104 | assert api.temperature == 0.6 |
| 105 | assert api.max_tokens == 1024 |
| 106 | assert api.concurrency_limit == 4 |
| 107 | assert api.return_dict is False |
| 108 | |
| 109 | def test_init_with_port(self, api_with_port): |
| 110 | assert "8000" in api_with_port.api_base |
nothing calls this directly
no outgoing calls
no test coverage detected