code: def test_update_no_flavor():
      res = runner.invoke(
          cli.update_deployment,
          ["--name", f_name, "--target", f_target, "-m", f_model_uri],
      )
      assert (
          f"Deployment {f_name} is updated (with flavor None)"
          in res.stdout
      )
  
imports: import json
  import os
  from unittest import mock
  import pytest
  from click.testing import CliRunner
  from mlflow.deployments import cli
  from mlflow.exceptions import MlflowException
label_desc: Use image node_id 4 for calling a global function with example usage: test_update_no_flavor() without return types