Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / tools / telemetry / telemetry / core / backends / google_credentials_backend_unittest.py
1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 from telemetry.core.backends import form_based_credentials_backend_unittest_base
5 from telemetry.core.backends import google_credentials_backend
6
7
8 class TestGoogleCredentialsBackend(
9     form_based_credentials_backend_unittest_base.
10     FormBasedCredentialsBackendUnitTestBase):
11   def setUp(self):
12     self._credentials_type = 'google'
13
14   def testLoginUsingMock(self):
15     self._LoginUsingMock(google_credentials_backend.GoogleCredentialsBackend(),
16                          'https://accounts.google.com/', 'Email',
17                          'Passwd')