#NEWLINE# def test_manipulator_remove_plugin( self ) : #NEWLINE# #INDENT# inner = copy . deepcopy ( TEST_INNER_DOCK_JSON ) #NEWLINE# m = DockJsonManipulator ( TEST_BUILD_JSON , inner ) #NEWLINE# m . remove_plugin ( 'postbuild_plugins' , 'all_rpm_packages' ) #NEWLINE# assert ( len ( [ x for x in inner [ 'postbuild_plugins' ] if x . get ( 'all_rpm_packages' , None ) ] ) == 0 )