#NEWLINE# def test_single_page_multiple_rows( self ) : #NEWLINE# #INDENT# mock_result_rows = [ { #NEWLINE# #INDENT# 'fieldA' : 'valueA1' , #NEWLINE# 'fieldB' : 'valueB1' , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'fieldA' : 'valueA2' , #NEWLINE# 'fieldB' : 'valueB2' , #NEWLINE# #UNINDENT# } ] #NEWLINE# mock_response = _construct_mock_bigquery_response ( mock_result_rows ) #NEWLINE# self . mock_jobs_service . getQueryResults ( ) . execute . return_value = mock_result_rows #NEWLINE# rows_expected = mock_result_rows #NEWLINE# rows_actual = self . collector . collect_results ( 'dummy_job_id' ) #NEWLINE# self . assertEqual ( rows_expected , rows_actual )