#NEWLINE# def assert_image_object( self , image_obj ) : #NEWLINE# #INDENT# self . assertIn ( 'Image' , repr ( image_obj ) ) #NEWLINE# self . assertEqual ( image_fixture [ 'source_uri' ] , image_obj . source_uri ) #NEWLINE# self . assertEqual ( image_fixture [ 'name' ] , self . name ) #NEWLINE# self . assertEqual ( image_fixture [ 'lp_metadata' ] , image_obj . lp_metadata )