#NEWLINE# def test_remove_non_empty_extension_point( self ) : #NEWLINE# #INDENT# ' remove non-empty extension point ' #NEWLINE# registry = extension_points . registry #NEWLINE# registry . add_extension_point ( self . _create_extension_point ( 'my.ep' ) ) #NEWLINE# registry . set_extensions ( 'my.ep' , [ 42 ] ) #NEWLINE# registry . remove_extension_point ( 'my.ep' ) #NEWLINE# extension_points = registry . get_extension_points ( ) #NEWLINE# self . assertEqual ( 0 , len ( extension_points ) ) #NEWLINE# self . assertEqual ( [ ] , registry . get_extensions ( 'my.ep' ) ) #NEWLINE# return