Update unittests to all pass.

Fix the parameters to the various unittests so they match recent
changes and the unittests all pass again.

BUG=None
TEST=I ran all the unittests with the changes.

Change-Id: I083b5127a2ade8f1dbaf2bb173d82183871cb7c7
Reviewed-on: https://chrome-internal-review.googlesource.com/159915
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Commit-Queue: Caroline Tice <cmtice@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
diff --git a/crosperf/results_cache_unittest.py b/crosperf/results_cache_unittest.py
index 2a2ac71..5f7fbc9 100755
--- a/crosperf/results_cache_unittest.py
+++ b/crosperf/results_cache_unittest.py
@@ -114,13 +114,13 @@
 
 class MockResult(Result):
 
-  def __init__(self, logger, label):
-    super(MockResult, self).__init__(logger, label)
+  def __init__(self, logger, label, logging_level):
+    super(MockResult, self).__init__(logger, label, logging_level)
 
   def _FindFilesInResultsDir(self, find_args):
     return ""
 
-  def _GetKeyvals(self):
+  def _GetKeyvals(self, show_all_results):
     return keyvals
 
 
@@ -128,8 +128,9 @@
   mock_label = MockLabel("mock_label", "chromeos_image", "/tmp", "lumpy",
                          "remote", "image_args", "image_md5sum", "cache_dir")
   def testCreateFromRun(self):
-    result = MockResult.CreateFromRun(logger.GetLogger(), self.mock_label,
-                                      output, error, 0, 0)
+    result = MockResult.CreateFromRun(logger.GetLogger(), "average",
+                                      self.mock_label,
+                                      output, error, 0, True, 0)
     self.assertEqual(result.keyvals, keyvals)
     self.assertEqual(result.chroot_results_dir,
                      "/tmp/run_remote_tests.PO1234567/platform_LibCBench")