Test TimeoutConfig with custom values.
(self)
| 31 | assert config.http_connect > 0 |
| 32 | |
| 33 | def test_custom_values(self): |
| 34 | """Test TimeoutConfig with custom values.""" |
| 35 | config = TimeoutConfig( |
| 36 | streaming_chunk=60.0, |
| 37 | streaming_global=600.0, |
| 38 | tool_execution=120.0, |
| 39 | ) |
| 40 | assert config.streaming_chunk == 60.0 |
| 41 | assert config.streaming_global == 600.0 |
| 42 | assert config.tool_execution == 120.0 |
| 43 | |
| 44 | def test_get_timeout_by_enum(self): |
| 45 | """Test getting timeout by TimeoutType enum.""" |
nothing calls this directly
no test coverage detected