#NEWLINE# def test_dataset_origin( self ) : #NEWLINE# #INDENT# rcmed . urllib2 . urlopen = self . return_text #NEWLINE# ds = rcmed . parameter_dataset ( self . dataset_id , self . parameter_id , self . min_lat , self . max_lat , self . min_lon , self . max_lon , self . start_time , self . end_time , name = 'foo' ) #NEWLINE# self . assertEquals ( ds . origin [ 'source' ] , 'rcmed' ) #NEWLINE# self . assertEquals ( self . origin [ 'dataset_id' ] , self . dataset_id ) #NEWLINE# self . assertEquals ( ds . origin [ 'parameter_id' ] , self . parameter_id )