#NEWLINE# def test_schema_setter( self ) : #NEWLINE# #INDENT# from gcloud.bigquery.table import SchemaField #NEWLINE# client = _Client ( self . PROJECT ) #NEWLINE# table = _Table ( ) #NEWLINE# job = self . _makeOne ( self . JOB_NAME , table , [ self . SOURCE1 ] , client ) #NEWLINE# full_name = SchemaField ( 'full_name' , 'STRING' , mode = 'REQUIRED' ) #NEWLINE# age = SchemaField ( 'age' , 'INTEGER' , mode = 'REQUIRED' ) #NEWLINE# job . schema = [ full_name , age ] #NEWLINE# self . assertEqual ( job . schema , [ full_name , age ] )