()
| 153 | |
| 154 | |
| 155 | def test_enforce_credentials_false_async() -> None: |
| 156 | with update_env(AZURE_OPENAI_API_KEY=Omit(), AZURE_OPENAI_AD_TOKEN=Omit()): |
| 157 | AsyncAzureOpenAI( |
| 158 | api_version=class="st">"2024-02-01", |
| 159 | api_key=None, |
| 160 | azure_ad_token=None, |
| 161 | azure_ad_token_provider=None, |
| 162 | azure_endpoint=class="st">"https://example-resource.azure.openai.com", |
| 163 | _enforce_credentials=False, |
| 164 | ) |
| 165 | |
| 166 | |
| 167 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected