#NEWLINE# def testDeviceNoUser( self ) : #NEWLINE# #INDENT# 'ERROR: Try to register existing device without existing user.' #NEWLINE# ( user , device_id ) = self . _tester . RegisterGoogleUser ( self . _google_user_dict , self . _mobile_device_dict ) #NEWLINE# self . _mobile_device_dict [ 'device_id' ] = user #NEWLINE# self . assertRaisesHttpError ( 403 , self . _tester . RegisterFacebookUser , self . _facebook_user_dict , self . _mobile_device_dict )