#NEWLINE# def test_disks_volumes_size_update( self ) : #NEWLINE# #INDENT# node_db = self . create_node ( ) #NEWLINE# disks = self . get ( node_db . id ) #NEWLINE# for disk in disks : #NEWLINE# #INDENT# if ( disk [ 'size' ] > 0 ) : #NEWLINE# #INDENT# for volume in disk [ 'volumes' ] : #NEWLINE# #INDENT# volume [ 'size' ] = 4200 #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# expect_disks = deepcopy ( disks ) #NEWLINE# response = self . put ( node_db . id , self ) #NEWLINE# self . assertEqual ( response , expect_disks ) #NEWLINE# response = self . get ( node_db . id ) #NEWLINE# self . assertEqual ( response , expect_disks )