class_docstr: Test ops
code: def test_revision(self):
      op0 = ops.test_revision().revision()
      self.assertEqual(op0.tag, "main")
      self.assertEqual(op0()[0], "main")
  
      op1 = ops.test_revision().revision("v1")
      self.assertEqual(op1.tag, "v1")
      self.assertEqual(op1()[0], "v1")
  
file_path: towhee/tests/unittests/runtime/test_factory.py
imports: import unittest
  from towhee.runtime import ops, register
label_desc: Use image node_id 2 for calling the TestOps obj's underlying member method code with example usage: obj.test_revision() without return types