

def test_simple_echo_success(self):
    result = core._create_result('echo 1', '')
    self.assertEqual(result.returncode, 0)
    self.assertEqual(result.stdout, '1')
    self.assertEqual(len(self.stdout_lines), 1)
    self.assertEqual(result.stdout_lines[0], '1')
    self.assertEqual(result.stderr, '')
    self.assertEqual(len(result.stderr_lines), 0)
    self.assertEqual(len(self.stdout_mock.lines), 0)
    self.assertEqual(len(self.stderr_mock.lines), 0)

dataset/ETHPy150Open lamerman/shellpy/shellpython/tests/test_unix_core.py TestExecute.test_simple_echo_success/VarMisuse@49/65 `result`->`self`