()
| 80 | |
| 81 | |
| 82 | def test_enforce_credentials_false_sync() -> None: |
| 83 | with update_env(AZURE_OPENAI_API_KEY=Omit(), AZURE_OPENAI_AD_TOKEN=Omit()): |
| 84 | AzureOpenAI( |
| 85 | api_version="2024-02-01", |
| 86 | api_key=None, |
| 87 | azure_ad_token=None, |
| 88 | azure_ad_token_provider=None, |
| 89 | azure_endpoint="https://example-resource.azure.openai.com", |
| 90 | _enforce_credentials=False, |
| 91 | ) |
| 92 | |
| 93 | |
| 94 | @pytest.mark.respx() |
nothing calls this directly
no test coverage detected