#NEWLINE# def test_google_get_user( self ) : #NEWLINE# #INDENT# response = self . fetch ( '/google/client/openid_login?openid.mode=blah&openid.ns.ax=http://openid.net/srv/ax/1.0&openid.ax.type.email=http://axschema.org/contact/email&openid.ax.value.email=foo@example.com' , follow_redirects = False ) #NEWLINE# response . rethrow ( ) #NEWLINE# parsed = json_decode ( response . body ) #NEWLINE# self . assertEqual ( parsed [ 'email' ] , 'foo@example.com' )