code: def test_get():
      res = runner.invoke(
          cli.get_deployment, ["--name", f_name, "--target", f_target]
      )
      assert "key1: val1" in res.stdout
      assert "key2: val2" 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 8 for calling a global function with example usage: test_get() without return types