- add sources.
[platform/framework/web/crosswalk.git] / src / tools / telemetry / telemetry / core / backends / facebook_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 facebook_credentials_backend
6
7 class TestFacebookCredentialsBackend(
8     form_based_credentials_backend_unittest_base.
9     FormBasedCredentialsBackendUnitTestBase):
10   def setUp(self):
11     self._credentials_type = 'facebook'
12
13   def testLoginUsingMock(self):
14     self._LoginUsingMock(
15         facebook_credentials_backend.FacebookCredentialsBackend(),
16         'http://www.facebook.com/', 'email', 'pass')