1# Copyright (c) 2020 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5from autotest_lib.client.bin import test 6from autotest_lib.client.cros import upstart 7 8 9class platform_Fingerprint(test.test): 10 """Fingerprint client tests.""" 11 version = 1 12 13 @staticmethod 14 def _test_biod_is_running(): 15 """Verify biod is running.""" 16 upstart.ensure_running("biod") 17 18 def run_once(self, to_test): 19 """Run the test specified by to_test.""" 20 method_name = '_test_' + to_test 21 method = getattr(self, method_name) 22 method() 23