async def test_context_manager(self):
        """Ensures that the client can be used as a context manager."""
        self.client.close = AsyncMock()
        async with self.client as client_instance:
            assert client_instance == self.client
        self.client.close.assert_called_once()
Ensures that the client can be used as a context manager.
llama-index-integrations/llms/llama-index-llms-oci-data-science/tests/test_oci_data_science_client.py