(cls)
| 810 | |
| 811 | @classmethod |
| 812 | def tearDownClass(cls): |
| 813 | super().tearDownClass() |
| 814 | if not has_browser() or EMTEST_BROWSER == 'node': |
| 815 | return |
| 816 | cls.harness_server.stop() |
| 817 | cls.harness_server.join() |
| 818 | cls.browser_terminate() |
| 819 | |
| 820 | if WINDOWS: |
| 821 | # On Windows, shutil.rmtree() in tearDown() raises this exception if we do not wait a bit: |
| 822 | # WindowsError: [Error 32] The process cannot access the file because it is being used by another process. |
| 823 | time.sleep(0.1) |
| 824 | |
| 825 | def is_browser_test(self): |
| 826 | return True |
nothing calls this directly
no test coverage detected