#NEWLINE# def test_remove_pv( self ) : #NEWLINE# #INDENT# disk = self . create_disk ( possible_pvs_count = 1 ) #NEWLINE# disk_without_pv = deepcopy ( disk_without_pv ) #NEWLINE# disk . create_pv ( { #NEWLINE# #INDENT# 'id' : 'pv_name' , #NEWLINE# #UNINDENT# } , 100 ) #NEWLINE# disk . remove_pv ( 'pv_name' ) #NEWLINE# self . assertEqual ( disk_without_pv . render ( ) , disk . render ( ) )