| Index: client/site_tests/hardware_Components/hardware_Components.py
|
| diff --git a/client/site_tests/hardware_Components/hardware_Components.py b/client/site_tests/hardware_Components/hardware_Components.py
|
| index 93b130158f8e6d9fa7b1b152d1de655c86a9ea03..60172605f6040e74501f6dcee51a5bfdc622b2c2 100644
|
| --- a/client/site_tests/hardware_Components/hardware_Components.py
|
| +++ b/client/site_tests/hardware_Components/hardware_Components.py
|
| @@ -14,7 +14,7 @@ from autotest_lib.client.common_lib import error
|
| from autotest_lib.client.common_lib import flashrom_util
|
| from autotest_lib.client.common_lib import gbb_util
|
| from autotest_lib.client.common_lib import site_fmap
|
| -from autotest_lib.client.common_lib import site_vblock
|
| +from autotest_lib.client.cros import vblock
|
|
|
|
|
| class hardware_Components(test.test):
|
| @@ -351,7 +351,7 @@ class hardware_Components(test.test):
|
| raise error.TestError('Cannot detect ChromeOS flashrom layout')
|
| for index, name in enumerate(section_names):
|
| data = flashrom.get_section(base_img, layout, name)
|
| - block = site_vblock.unpack_verification_block(data)
|
| + block = vblock.unpack_verification_block(data)
|
| ver = block['VbFirmwarePreambleHeader']['firmware_version']
|
| versions[index] = ver
|
| # we embed error reports in return value.
|
|
|