def test_exception_message(self):
        """Ensures the exception message is formatted correctly."""
        current_version = "2.12.5"
        required_version = "2.12.6"
        expected_message = (
            f"The `oracle-ads` version {current_version} currently installed is incompatible with "
            "the `llama-index-llms-oci-data-science` version in use. To resolve this issue, "
            f"please upgrade to `oracle-ads:{required_version}` or later using the "
            "command: `pip install oracle-ads -U`"
        )

        exception = UnsupportedOracleAdsVersionError(current_version, required_version)
        assert str(exception) == expected_message
Ensures the exception message is formatted correctly.
llama-index-integrations/llms/llama-index-llms-oci-data-science/tests/test_oci_data_science_utils.py