def test_get_authenticated_service_success(self):
        mock_authenticated_service = mock.Mock()
        self.mock_google_auth_config.authenticate_with_google.return_value = (
            mock_authenticated_service)

        authenticated_service_actual = external.get_authenticated_service(
            self.mock_google_auth_config)
        self.assertEqual(authenticated_service_actual,
                         mock_authenticated_service)
Should succeed when the call to authenticate_with_google succeeds.
dataset/ETHPy150Open m-lab/telescope/tests/test_external.py/GetAuthenticatedServiceTest.test_get_authenticated_service_success