(self)
| 2464 | '3 hour 1 sec') |
| 2465 | |
| 2466 | def test_normalize_test_name(self): |
| 2467 | normalize = normalize_test_name |
| 2468 | self.assertEqual(normalize('test_access (test.test_os.FileTests.test_access)'), |
| 2469 | 'test_access') |
| 2470 | self.assertEqual(normalize('setUpClass (test.test_os.ChownFileTests)', is_error=True), |
| 2471 | 'ChownFileTests') |
| 2472 | self.assertEqual(normalize('test_success (test.test_bug.ExampleTests.test_success)', is_error=True), |
| 2473 | 'test_success') |
| 2474 | self.assertIsNone(normalize('setUpModule (test.test_x)', is_error=True)) |
| 2475 | self.assertIsNone(normalize('tearDownModule (test.test_module)', is_error=True)) |
| 2476 | |
| 2477 | def test_format_resources(self): |
| 2478 | format_resources = utils.format_resources |
nothing calls this directly
no test coverage detected