def testLoginWebUser(self):
    # Register as web user, login as web user.
    user, device_id = self._tester.RegisterFacebookUser(self._facebook_user_dict)
    user2, device_id2 = self._tester.LoginFacebookUser(self._facebook_user_dict)
    self.assertEqual(user.user_id, user2.user_id)
    self.assertEqual(device_id, device_id2)

    # And login again as mobile user.
    self._tester.LoginFacebookUser(self._facebook_user_dict, self._mobile_device_dict)
Test successful login of web user.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/auth_facebook_test.py/AuthFacebookTestCase.testLoginWebUser