blob: e381e1303866d2aeaa92cc773ee12f1740d44b0b [file] [log] [blame]
# Copyright (c) 2010 The Chromium OS 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.common_lib import error
from autotest_lib.client.cros import auth_server, cros_ui_test, cryptohome
from autotest_lib.client.cros import constants as chromeos_constants
class login_CryptohomeIncognitoMounted(cros_ui_test.UITest):
version = 1
def run_once(self):
if (cryptohome.is_mounted(allow_fail=True) or
not cryptohome.is_mounted_on_tmpfs(
device=chromeos_constants.CRYPTOHOME_INCOGNITO)):
raise error.TestFail('CryptohomeIsMountedOnTmpfs should return '
'True.')