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
7 class TestFacebookCredentialsBackend(
8 form_based_credentials_backend_unittest_base.
9 FormBasedCredentialsBackendUnitTestBase):
11 self._credentials_type = 'facebook'
13 def testLoginUsingMock(self):
15 facebook_credentials_backend.FacebookCredentialsBackend(),
16 'http://www.facebook.com/', 'email', 'pass')