def test_check_exit_code(self):
    self.mock_popen.return_value = ['', '']
    stdout = utils.execute(['ls', self.test_file[:(- 1)]], check_exit_code=False)
    self.assertEqual(stdout, '')
def test_check_exit_code(self):
    self.mock_popen.return_value = [, ]
    stdout = utils.execute(['ls', self.test_file[:(- 1)]], check_exit_code=False)
    self.assertEqual(stdout, )