Lines Matching refs:assertEqual
49 self.assertEqual(self.res_single_no_error.stdout, 'stdout')
50 self.assertEqual(self.res_single_no_error.stderr, '')
51 self.assertEqual(self.res_single_no_error.returncode, 0)
52 self.assertEqual(self.res_single_no_error.stdouts[-1], 'stdout')
53 self.assertEqual(self.res_single_no_error.stderrs[-1], '')
54 self.assertEqual(self.res_single_no_error.returncodes[-1], 0)
58 self.assertEqual(self.res_multiple_no_error.stdout, 'stdout2')
59 self.assertEqual(self.res_multiple_no_error.stderr, '')
60 self.assertEqual(self.res_multiple_no_error.returncode, 0)
61 self.assertEqual(self.res_multiple_no_error.stdouts, ['stdout1', 'stdout2'])
62 self.assertEqual(self.res_multiple_no_error.stderrs, ['', ''])
63 self.assertEqual(self.res_multiple_no_error.returncodes, [0, 0])
67 self.assertEqual(self.res_single_no_error[cmd_utils.STDOUT][0], 'stdout')
86 self.assertEqual(self.res_multiple_no_error[cmd_utils.STDOUT][0], 'stdout1')
87 self.assertEqual(self.res_multiple_no_error[cmd_utils.STDOUT][1], 'stdout2')
103 self.assertEqual(self.res_multiple_with_cmd_and_exception.cmd, 'cmd2')
104 self.assertEqual(self.res_multiple_with_cmd_and_exception.cmds, ['cmd1', 'cmd2'])
105 self.assertEqual(self.res_multiple_with_cmd_and_exception.exception, 'TCP connection lost')
106 self.assertEqual(self.res_multiple_with_cmd_and_exception.exceptions,