def setUpClass(cls): """Call the function under test, and record inputs and outputs.""" cls.completed_proc = mock.Mock() cls.output = cli.code_handler(cls.completed_proc)