#NEWLINE# def test_from_api_repr_bare( self ) : #NEWLINE# #INDENT# self . _setUpConstants ( ) #NEWLINE# client = _Client ( self . PROJECT ) #NEWLINE# RESOURCE = { #NEWLINE# #INDENT# 'id' : self . JOB_ID , #NEWLINE# 'jobReference' : { #NEWLINE# #INDENT# 'projectId' : self . PROJECT , #NEWLINE# 'jobId' : self . JOB_NAME , #NEWLINE# #UNINDENT# } , #NEWLINE# 'configuration' : { #NEWLINE# #INDENT# 'query' : { #NEWLINE# #INDENT# 'query' : self . QUERY , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# klass = self . _getTargetClass ( ) #NEWLINE# job = klass . from_api_repr ( RESOURCE , client = client ) #NEWLINE# self . assertTrue ( ( job . _client is client ) ) #NEWLINE# self . _verifyResourceProperties ( job , RESOURCE )