Clean up VPD & Device Data Tests |
|||
Issue descriptionCurrently there are lots of pytests doing VPD & device data and their functions are overlapped with each other. Also, with the help of new DeviceData layout and shopfloor service, we should be able to simplify a lot. To be more specific, currently there are: vpd.py # legacy one to write vpd from device data / shopfloor, plus a manual UI for selecting VPD values. read_device_data_from_vpd # load vpd into device data write_device_data_to_vpd.py # write vpd from device data vpd_from_http.py # special test made for A/B sub panel. We should deprecate this by others backlight_max_brightness_vpd # similar to vpd_from_http, should be deprecated. update_device_data # A generic test to modify device data by given args With the new definition of state VPD, I think we can say "all tests must write to device data, and then let a write_device_data_to_vpd write VPD values from device data, so: - read_device_data_from_vpd - write_device_data_to_vpd - update_device_data P.S: should we merge read_device_data_from_vpd and write_device_data_to_vpd as a new vpd tst?j
,
Jul 14 2017
still need to merge update_device_data and select_component.
,
Jul 26 2017
All merged.
,
Jan 22 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Jun 30 2017