Move light sensor test case from autotest to pytest

Change GTK interface to HTML
Just change 'autotest_name=factory_LightSensor' to
'pytest_name=light_sensor' in test_list
Add general device input parameter which can be assigned in
test_list

BUG=chrome-os-partner:19511
TEST=manually test, passed dark/exact/flash light situations

Change-Id: I888c6ab1d29a6d437a3f25007e217b5177884ee8
Reviewed-on: https://gerrit.chromium.org/gerrit/57689
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
Commit-Queue: Heng-ruey Hsu <henryhsu@chromium.org>
Tested-by: Heng-ruey Hsu <henryhsu@chromium.org>
(cherry picked from commit ba2c44b9f41a35a6a73aff06233127526bc42826)
Reviewed-on: https://gerrit.chromium.org/gerrit/59262
Commit-Queue: Katie Roberts-Hoffman <katierh@chromium.org>
Reviewed-by: Katie Roberts-Hoffman <katierh@chromium.org>
Tested-by: Katie Roberts-Hoffman <katierh@chromium.org>
2 files changed