code: def test_update_success():
      client = deployments.get_deploy_client(f_target)
      res = client.update_deployment(
          f_deployment_id, f_model_uri, f_flavor
      )
      assert res["flavor"] == f_flavor
  
imports: import os
  from unittest import mock
  import pytest
  from mlflow import deployments
  from mlflow.deployments.plugin_manager import DeploymentPlugins
  from mlflow.exceptions import MlflowException
label_desc: Use image node_id 3 for calling a global function with example usage: test_update_success() without return types