OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium 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 from telemetry import form_based_credentials_backend_unittest_base | 4 from telemetry import form_based_credentials_backend_unittest_base |
5 from telemetry import google_credentials_backend | 5 from telemetry import google_credentials_backend |
6 | 6 |
7 class TestGoogleCredentialsBackend( | 7 class TestGoogleCredentialsBackend( |
8 form_based_credentials_backend_unittest_base. | 8 form_based_credentials_backend_unittest_base. |
9 FormBasedCredentialsBackendUnitTestBase): | 9 FormBasedCredentialsBackendUnitTestBase): |
10 def setUp(self): | 10 def setUp(self): |
11 self._credentials_type = 'google' | 11 self._credentials_type = 'google' |
12 | 12 |
13 def testLoginUsingMock(self): | 13 def testLoginUsingMock(self): |
14 self._LoginUsingMock(google_credentials_backend.GoogleCredentialsBackend(), | 14 self._LoginUsingMock(google_credentials_backend.GoogleCredentialsBackend(), |
15 'https://accounts.google.com/', 'Email', | 15 'https://accounts.google.com/', 'Email', |
16 'Passwd') | 16 'Passwd') |
OLD | NEW |