code: def test_conversion(self):
      if __version__[0] == "2" and not tf.executing_eagerly():
          warnings.warn("TF2.0 not in eager mode, cannot test.")
          return
      flags.FLAGS(
          [
              "savedmodel_to_onnx.py",
              "-i=%s" % self.model,
              "-o=%s" % self.output,
          ]
      )
      self.s2o._main(None)
  
file_path: auptimizer/tests/dlconvert/test_savedmodel_to_onnx.py
imports: import unittest
  from absl import flags
  from os import path, remove, environ
  import json
  import tensorflow
  from tensorflow import __version__
  import warnings
  from six import PY2
label_desc: Use image node_id 1 for calling the SavedModelToOnnxTestCase obj's underlying member method code with example usage: obj.test_conversion() without return types