OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 AUTHOR = "Chrome OS Team" | 5 AUTHOR = "Chrome OS Team" |
6 NAME = "BAD_CREDS_LOGIN" | 6 NAME = "login_BadAuthentication" |
7 TIME = "SHORT" | 7 TIME = "SHORT" |
8 TEST_CATEGORY = "General" | 8 TEST_CATEGORY = "General" |
9 TEST_CLASS = "login" | 9 TEST_CLASS = "login" |
10 TEST_TYPE = "client" | 10 TEST_TYPE = "client" |
11 | 11 |
12 DOC = """ | 12 DOC = """ |
13 This tests that we fail on a login attempt with bad credentials | 13 This tests that we fail on a login attempt that gets back an error from the |
| 14 server. |
14 """ | 15 """ |
15 | 16 |
16 job.run_test('login_BadAuthentication', creds='$default') | 17 job.run_test('login_BadAuthentication', tag='badauth') |
17 | 18 job.run_test('login_BadAuthentication', tag='not_verified', error_string="NotVer
ified") |
18 | 19 job.run_test('login_BadAuthentication', tag='no_terms', error_string="TermsNotAg
reed") |
| 20 job.run_test('login_BadAuthentication', tag='account_deleted', error_string="Acc
ountDeleted") |
| 21 job.run_test('login_BadAuthentication', tag='account_disabled', error_string="Ac
countDisabled") |
| 22 job.run_test('login_BadAuthentication', tag='service_disabled', error_string="Se
rviceDisabled") |
| 23 job.run_test('login_BadAuthentication', tag='service_unavailable', error_string=
"ServiceUnavailable") |
| 24 job.run_test('login_BadAuthentication', tag='unknown_error', error_string="Unkno
wn") |
OLD | NEW |