Mock the Azure credential for testing.
(mock_session_env)
| 344 | |
| 345 | @pytest.fixture(scope="function") |
| 346 | def mock_azure_credential(mock_session_env): |
| 347 | """Mock the Azure credential for testing.""" |
| 348 | with mock.patch("azure.identity.aio.AzureDeveloperCliCredential") as mock_azure_credential: |
| 349 | mock_azure_credential.return_value = MockAzureCredential() |
| 350 | yield mock_azure_credential |
| 351 | |
| 352 | |
| 353 | @pytest_asyncio.fixture(scope="function") |
nothing calls this directly
no test coverage detected