pytests: Fix method-not-found issues when invoking testlog module.

During replacing the eventlog module by the testlog module, some
of the functions were replaced by wrong names, so this CL fixes
those bad functions.

BUG=b:36868023
TEST=manually test on DUT

Change-Id: I028117fb69a4ece9c24ef9313165a33aaab69503
Reviewed-on: https://chromium-review.googlesource.com/1113699
Commit-Ready: Yong Hong <yhong@google.com>
Tested-by: Yong Hong <yhong@google.com>
Reviewed-by: Wei-Han Chen <stimim@chromium.org>
diff --git a/py/test/pytests/light_sensor.py b/py/test/pytests/light_sensor.py
index f76cb6b..ad1e93e 100644
--- a/py/test/pytests/light_sensor.py
+++ b/py/test/pytests/light_sensor.py
@@ -318,18 +318,18 @@
         with group_checker:
           testlog.LogParam(name + '_time', time.time())
           if 'above' in cfg:
-            passed = testlog.CheckValueParam(name, val, min=cfg['above'])
+            passed = testlog.CheckNumericParam(name, val, min=cfg['above'])
             logging.info('%s checking "above" %d > %d',
                          'PASSED' if passed else 'FAILED',
                          val, cfg['above'])
           elif 'below' in cfg:
-            passed = testlog.CheckValueParam(name, val, max=cfg['below'])
+            passed = testlog.CheckNumericParam(name, val, max=cfg['below'])
             logging.info('%s checking "below" %d < %d',
                          'PASSED' if passed else 'FAILED',
                          val, cfg['below'])
           elif 'between' in cfg:
             lb, ub = cfg['between']
-            passed = testlog.CheckValueParam(name, val, min=lb, max=ub)
+            passed = testlog.CheckNumericParam(name, val, min=lb, max=ub)
             logging.info('%s checking "between" %d < %d < %d',
                          'PASSED' if passed else 'FAILED',
                          lb, val, ub)
diff --git a/py/test/pytests/thermal_load.py b/py/test/pytests/thermal_load.py
index a6bfbba..55abf23 100644
--- a/py/test/pytests/thermal_load.py
+++ b/py/test/pytests/thermal_load.py
@@ -66,7 +66,7 @@
     """
     testlog.LogParam('elapsed', elapsed)
     for index, temperature_value in enumerate(temperatures):
-      testlog.CheckNumericValue('%s_temperature' % self.sensors[index],
+      testlog.CheckNumericParam('%s_temperature' % self.sensors[index],
                                 temperature_value,
                                 min=self.args.lower_threshold[index],
                                 max=self.args.temperature_limit[index])