def setUp(self, MockHook): # pylint: disable=arguments-differ,unused-argument self.bm_threads_report = cbr._BenchmarkThreadsReport(_BM_CONTEXT) self.cbr_hook = cbr.CombineBenchmarkResults(None, None) self.cbr_hook.create_time = datetime.datetime.utcfromtimestamp(_START_TIME) self.cbr_hook.end_time = datetime.datetime.utcfromtimestamp(_END_TIME) self.cbr_hook._parse_report(_BM_FULL_REPORT)
def setUp(self, MockHook): self.bm_threads_report = cbr._BenchmarkThreadsReport(_BM_CONTEXT) self.cbr_hook = cbr.CombineBenchmarkResults(None, None) self.cbr_hook.create_time = datetime.datetime.utcfromtimestamp( _START_TIME) self.cbr_hook.end_time = datetime.datetime.utcfromtimestamp(_END_TIME) self.cbr_hook._parse_report(_BM_FULL_REPORT)