async def test_close(self):
        """Ensures that close method closes the client."""
        self.client._client.aclose = AsyncMock()
        await self.client.close()
        self.client._client.aclose.assert_called_once()
Ensures that close method closes the client.
llama-index-integrations/embeddings/llama-index-embeddings-oci-data-science/tests/test_oci_data_science_client.py