def METHOD_NAME(self, results):
    print("testcase =\n%s" % str(self.testcase))
    print("results =\n%s" % results)
    if 'exception' in results:
        print("exception = \n%s" % results["exception"])
    for test_result in self.testcase.output:
        assert results[test_result] == self.testcase.output[test_result], \
            "'{0}': '{1}' != '{2}'".format(test_result, results[test_result], self.testcase.output[test_result])
    call_args_list = [(item[0][0], item[1]) for item in self.mock_run_cmd.call_args_list]
    expected_call_args_list = [(item.command, item.environ) for item in self.run_cmd_calls]
    print("call args list =\n%s" % call_args_list)
    print("expected args list =\n%s" % expected_call_args_list)
    assert self.mock_run_cmd.call_count == len(self.run_cmd_calls)
    if self.mock_run_cmd.call_count:
        assert call_args_list == expected_call_args_list