Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: client/site_tests/login_BadAuthentication/control

Issue 3126002: Add some more test cases for login (Closed) Base URL: http://src.chromium.org/git/autotest.git
Patch Set: improve docstring Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | client/site_tests/login_BadAuthentication/login_BadAuthentication.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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")
OLDNEW
« no previous file with comments | « no previous file | client/site_tests/login_BadAuthentication/login_BadAuthentication.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698