#NEWLINE# def test_region_daily_data( self ) : #NEWLINE# #INDENT# data = RegionDailyDataIO ( basin = '18010201' , start_date = '2014-07-01' , end_date = '2014-07-01' ) #NEWLINE# for site in data : #NEWLINE# #INDENT# self . assertHasFields ( site , ( 'name' , 'stationtriplet' , 'latitude' , 'longitude' ) ) #NEWLINE# if ( len ( site . data ) > 0 ) : #NEWLINE# #INDENT# self . assertHasFields ( site . data [ 0 ] , ( 'elementcd' , 'value' , 'flag' , 'date' ) )