#NEWLINE# def test_plugin_disable_and_enable( self ) : #NEWLINE# #INDENT# plugin = self . plugin_manager . plugins [ 'test1' ] #NEWLINE# self . assertFalse ( plugin . disable ( ) ) #NEWLINE# plugin = self . plugin_manager . all_plugins [ 'test1' ] #NEWLINE# self . assertTrue ( plugin . enable ( ) )