code: def expect_success(self, *args):
      out, err, code = self._do_test(*args)
      self.assertEqual(
          code, 0, "\n".join([f"Unexpected failure: {args=}", out, err])
      )
      self.assertEqual(err, "")
      return out
  
imports: import sqlite3
  import unittest
  from sqlite3.__main__ import main
  from test.support.os_helper import TESTFN, unlink
  from test.support import captured_stdout, captured_stderr, captured_stdin
label_desc: Use image node_id 2 for calling the CommandLineInterface obj's underlying member method code with example usage: obj.expect_success() and returns: out