Lines Matching refs:caplog
58 def test_compare_report(self, caplog, out_path, old_ram_multiplier, expect_delta_log): argument
109 assert self.FOOTPRINT_LOG in caplog.text
112 assert self.RAM_KEY in caplog.text
113 assert re.search(self.DELTA_WARNING_COMPARE, caplog.text), \
116 assert self.RAM_KEY not in caplog.text
117 assert not re.search(self.DELTA_WARNING_COMPARE, caplog.text), \
184 def test_footprint_threshold(self, caplog, out_path, old_ram_multiplier, argument
235 assert self.FOOTPRINT_LOG in caplog.text
238 assert self.RAM_KEY in caplog.text
239 assert re.search(self.DELTA_WARNING_COMPARE, caplog.text), \
242 assert self.RAM_KEY not in caplog.text
243 assert not re.search(self.DELTA_WARNING_COMPARE, caplog.text), \
254 def test_show_footprint(self, caplog, out_path, flags, old_ram_multiplier, expect_delta_log): argument
304 assert self.FOOTPRINT_LOG in caplog.text
307 assert self.RAM_KEY in caplog.text
308 assert re.search(self.DELTA_DETAIL, caplog.text), \
310 assert re.search(self.DELTA_WARNING_COMPARE, caplog.text), \
313 assert self.RAM_KEY not in caplog.text
314 assert not re.search(self.DELTA_DETAIL, caplog.text), \
316 assert re.search(self.DELTA_WARNING_COMPARE, caplog.text), \
327 def test_last_metrics(self, caplog, out_path, old_ram_multiplier, expect_delta_log): argument
377 assert self.FOOTPRINT_LOG in caplog.text
380 assert self.RAM_KEY in caplog.text
381 assert re.search(self.DELTA_WARNING_RUN, caplog.text), \
384 assert self.RAM_KEY not in caplog.text
385 assert not re.search(self.DELTA_WARNING_RUN, caplog.text), \
388 second_logs = caplog.records
389 caplog.clear()
413 assert all([log in caplog.text for log in delta_logs])
424 def test_all_deltas(self, caplog, out_path, old_ram_multiplier, expect_delta_log): argument
474 assert self.FOOTPRINT_LOG in caplog.text
477 assert self.RAM_KEY in caplog.text
478 assert re.search(self.DELTA_WARNING_COMPARE, caplog.text), \
481 assert self.RAM_KEY not in caplog.text
482 assert not re.search(self.DELTA_WARNING_COMPARE, caplog.text), \