code: def _run_command(self, cmd, *args, **kwargs):
      runner = CliRunner()
      result = runner.invoke(cmd, *args, **kwargs)
      self.assertEqual(
          result.exit_code,
          0,
          textwrap.dedent(
              """
          Command exited with non-zero exit code:
          output: {}
          exception: {}
          exc_info: {}
          """.format(
                  result.output,
                  result.exception,
                  traceback.format_exception(*result.exc_info),
              )
          ),
      )
      return result
  
imports: import json
  import tempfile
  import textwrap
  import traceback
  import unittest
  import zipfile
  from caffe2.proto import caffe2_pb2
  from caffe2.python import brew, core
  from caffe2.python.model_helper import ModelHelper
  from click.testing import CliRunner
  import numpy
  from onnx import helper, ModelProto, TensorProto
  from caffe2.python.onnx.helper import c2_native_run_net
  from caffe2.python.onnx.bin.conversion import caffe2_to_onnx, onnx_to_caffe2
  import caffe2.python.onnx.backend
  from caffe2.python.onnx.tests.test_utils import TestCase
label_desc: Use image node_id 1 for calling the TestConversion obj's underlying member method code with example usage: obj._run_command(cmd) and returns: result