Purge the last vestiges of ServoTest
This class has been slated for removal for nearly two years. All
that remained was a stub with a two-line initialize() method, so,
time to finish the job.
BUG=chromium:215491
TEST=Run FAFTSetup on link
Change-Id: If349e1d335c038c28c8ce65a7dc1ab5dd7f59e32
Reviewed-on: https://chromium-review.googlesource.com/208733
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Yusuf Mohsinally <mohsinally@chromium.org>
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
diff --git a/server/cros/faft/firmware_test.py b/server/cros/faft/firmware_test.py
index eda80be..89fc250 100644
--- a/server/cros/faft/firmware_test.py
+++ b/server/cros/faft/firmware_test.py
@@ -13,12 +13,12 @@
from autotest_lib.client.bin import utils
from autotest_lib.client.common_lib import error
from autotest_lib.server import autotest
+from autotest_lib.server import test
from autotest_lib.server.cros import vboot_constants as vboot
from autotest_lib.server.cros.faft.config.config import Config as FAFTConfig
from autotest_lib.server.cros.faft.rpc_proxy import RPCProxy
from autotest_lib.server.cros.faft.utils.faft_checkers import FAFTCheckers
from autotest_lib.server.cros.servo import chrome_ec
-from autotest_lib.server.cros.servo_test import ServoTest
class ConnectionError(Exception):
@@ -26,7 +26,7 @@
pass
-class FAFTBase(ServoTest):
+class FAFTBase(test.test):
"""The base class of FAFT classes.
It launches the FAFTClient on DUT, such that the test can access its
@@ -36,7 +36,8 @@
"""
def initialize(self, host):
"""Create a FAFTClient object and install the dependency."""
- super(FAFTBase, self).initialize(host)
+ self.servo = host.servo
+ self.servo.initialize_dut()
self._client = host
self._autotest_client = autotest.Autotest(self._client)
self._autotest_client.install()