#NEWLINE# def test_put_entity_w_key_wrong_project( self ) : #NEWLINE# #INDENT# _PROJECT = 'PROJECT' #NEWLINE# connection = _Connection ( ) #NEWLINE# client = _Client ( self , connection ) #NEWLINE# batch = self . _makeOne ( client ) #NEWLINE# entity = _Entity ( ) #NEWLINE# entity . key = _Key ( 'OTHER' ) #NEWLINE# self . assertRaises ( ValueError , batch . put , entity )