#NEWLINE# def test_get_object_success( self ) : #NEWLINE# #INDENT# self . mock_response_klass . type = 'get_object' #NEWLINE# obj = self . driver . get_object ( container_name = 'test2' , object_name = 'test' ) #NEWLINE# self . assertEqual ( obj . name , 'test' ) #NEWLINE# self . assertEqual ( obj . container . name , 'test2' ) #NEWLINE# self . assertEqual ( obj . size , 12345 ) #NEWLINE# self . assertEqual ( obj . hash , 'e31208wqsdoj329jd' ) #NEWLINE# self . assertEqual ( obj . extra [ 'last_modified' ] , 'Thu, 13 Sep 2012 07:13:22 GMT' ) #NEWLINE# self . assertEqual ( obj . extra [ 'content_type' ] , 'application/zip' ) #NEWLINE# self . assertEqual ( obj . meta_data [ 'rabbits' ] , 'monkeys' )