blob: eb26a6ff4cd0a25c59903d33aa5f605f001bf970 [file] [log] [blame]
#!/usr/bin/env python
# Copyright (c) 2012 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.
import logging
import os
import sys
def _SetupPaths():
sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir))
sys.path.append('/usr/local') # to import autotest libs
from autotest.cros import constants
import pyauto
class ChromeosUtils(pyauto.PyUITest):
"""Utils for ChromeOS."""
def LoginToDefaultAccount(self):
"""Login to ChromeOS using default testing account.
python \
# Should auto-login. Nothing to do here.
# TODO(nirnimesh): Remove this when auto-login feature
# reaches chromeos such that this helper is not necessary.
if __name__ == '__main__':