#NEWLINE# def test_update( self ) : #NEWLINE# #INDENT# fixture = self . _make_fixture ( 'test image' ) #NEWLINE# image_id = self . service . create ( self . context , fixture ) [ 'id' ] #NEWLINE# fixture [ 'status' ] = 'in progress' #NEWLINE# self . service . update ( self . context , image_id , self ) #NEWLINE# new_image_data = self . service . show ( self . context , image_id ) #NEWLINE# self . assertEquals ( 'in progress' , new_image_data [ 'status' ] )