(self)
| 525 | """Edge case and boundary tests.""" |
| 526 | |
| 527 | def test_empty_api_key(self): |
| 528 | api = OpenAIAPI(model="m", api_base="http://x", key="") |
| 529 | assert api.key == "" |
| 530 | |
| 531 | def test_very_large_thread_num(self): |
| 532 | api = OpenAIAPI(model="m", api_base="http://x", thread_num=100000) |