blob: 76118a3186df9f1e1470fefceed1a1a4953f7d6e [file] [log] [blame]
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from autotest_lib.client.bin import test
from autotest_lib.client.common_lib.cros.tendo import buffet_tester
class buffet_Registration(test.test):
"""Test that buffet can go through registration."""
version = 1
def initialize(self):
self._helper = buffet_tester.BuffetTester()
def run_once(self):
# Erase all buffet state and restart it pointing to our fake
# server, register with the cloud and check we can poll for
# commands.
device_id = self._helper.register_with_server()
def cleanup(self):