#NEWLINE# def test_from_api_repr_bare( self ) : #NEWLINE# #INDENT# self . _setUpConstants ( ) #NEWLINE# client = _Client ( RESOURCE . PROJECT ) #NEWLINE# RESOURCE = { #NEWLINE# #INDENT# 'id' : ( '%s:%s' % ( self . PROJECT , self . DS_NAME ) ) , #NEWLINE# 'datasetReference' : { #NEWLINE# #INDENT# 'projectId' : self . PROJECT , #NEWLINE# 'datasetId' : self . DS_NAME , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# klass = self . _getTargetClass ( ) #NEWLINE# dataset = klass . from_api_repr ( RESOURCE , client = client ) #NEWLINE# self . assertTrue ( ( dataset . _client is client ) ) #NEWLINE# self . _verifyResourceProperties ( dataset , RESOURCE )