def _get_info_by_testcase(self, outsuffix):
        tests_by_testcase = {}

        for tests in (self.successes, self.failures, self.errors):
            for test_info in tests:
                testcase = type(test_info.test_method)

                # Ignore module name if it is '__main__'
                module = testcase.__module__ + '.'
                if module == '__main__.':
                    module = ''
                testcase_name = module + testcase.__name__

                if not testcase_name in tests_by_testcase:
                    tests_by_testcase[testcase_name] = []
                tests_by_testcase[testcase_name].append(test_info)

        return tests_by_testcase
Make a WSDL instance from a file path.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/site-packages/unittest_xml_reporting-1.4.3-py2.5.egg/xmlrunner/__init__.py/_XMLTestResult._get_info_by_testcase--crossover with--dataset/ETHPy150Open tysonclugg/rinse/rinse/wsdl.py/WSDL.from_file