def _assertRebaseline(
     self, test_files, results_files, test_name, baseline_target, baseline_move_to, expected_success, expected_log
 ):
     log = []
     test_config = get_test_config(test_files, results_files)
     success = rebaselineserver._rebaseline_test(
         test_name, baseline_target, baseline_move_to, test_config, log=lambda l: log.append(l)
     )
     self.assertEqual(expected_log, log)
     self.assertEqual(expected_success, success)
 def _assertRebaseline(self, test_files, results_files, test_name, baseline_target, baseline_move_to, expected_success, expected_log):
     log = []
     test_config = get_test_config(test_files, results_files)
     success = rebaselineserver._rebaseline_test(
         test_name,
         baseline_target,
         baseline_move_to,
         test_config,
         log=lambda l: log.append(l))
     self.assertEqual(expected_log, log)
     self.assertEqual(expected_success, success)