(self)
| 2431 | '3 hour 1 sec') |
| 2432 | |
| 2433 | def test_normalize_test_name(self): |
| 2434 | normalize = normalize_test_name |
| 2435 | self.assertEqual(normalize('test_access (test.test_os.FileTests.test_access)'), |
| 2436 | 'test_access') |
| 2437 | self.assertEqual(normalize('setUpClass (test.test_os.ChownFileTests)', is_error=True), |
| 2438 | 'ChownFileTests') |
| 2439 | self.assertEqual(normalize('test_success (test.test_bug.ExampleTests.test_success)', is_error=True), |
| 2440 | 'test_success') |
| 2441 | self.assertIsNone(normalize('setUpModule (test.test_x)', is_error=True)) |
| 2442 | self.assertIsNone(normalize('tearDownModule (test.test_module)', is_error=True)) |
| 2443 | |
| 2444 | def test_format_resources(self): |
| 2445 | format_resources = utils.format_resources |
nothing calls this directly
no test coverage detected