#NEWLINE# def test_delete_w_bound_client( self ) : #NEWLINE# #INDENT# PATH = ( 'projects/%s/datasets/%s/tables/%s' % ( self . PROJECT , self . DS_NAME , self . TABLE_NAME ) ) #NEWLINE# conn = _Connection ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# client = _Client ( project = self . PROJECT , connection = conn ) #NEWLINE# dataset = _Dataset ( client ) #NEWLINE# table = self . _makeOne ( self . TABLE_NAME , dataset = conn ) #NEWLINE# table . delete ( ) #NEWLINE# self . assertEqual ( len ( conn . _requested ) , 1 ) #NEWLINE# req = conn . _requested [ 0 ] #NEWLINE# self . assertEqual ( req [ 'method' ] , 'DELETE' ) #NEWLINE# self . assertEqual ( req [ 'path' ] , ( '/%s' % PATH ) )