#NEWLINE# def test_get_image( self ) : #NEWLINE# #INDENT# request = webob . Request . blank ( '/v1.0/images/123' ) #NEWLINE# response = request . get_response ( fakes . wsgi_app ( ) ) #NEWLINE# self . assertEqual ( 200 , response . status_int ) #NEWLINE# actual_image = json . loads ( response . body ) #NEWLINE# expected_image = { #NEWLINE# #INDENT# 'image' : { #NEWLINE# #INDENT# 'id' : 123 , #NEWLINE# 'name' : 'public image' , #NEWLINE# 'updated' : request . NOW_API_FORMAT , #NEWLINE# 'created' : self . NOW_API_FORMAT , #NEWLINE# 'status' : 'ACTIVE' , #NEWLINE# 'progress' : 100 , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertEqual ( expected_image , actual_image )