(self, mocked_d8, test_json)
| 816 | ### System tests |
| 817 | |
| 818 | def _RunPerf(self, mocked_d8, test_json): |
| 819 | output_json = os.path.join(TEST_WORKSPACE, 'output.json') |
| 820 | args = [ |
| 821 | os.sys.executable, RUN_PERF, |
| 822 | '--binary-override-path', os.path.join(TEST_DATA, mocked_d8), |
| 823 | '--json-test-results', output_json, |
| 824 | os.path.join(TEST_DATA, test_json), |
| 825 | ] |
| 826 | subprocess.check_output(args) |
| 827 | return self._LoadResults(output_json) |
| 828 | |
| 829 | def testNormal(self): |
| 830 | results = self._RunPerf('d8_mocked1.py', 'test1.json') |
no test coverage detected