#NEWLINE# @ tornado . testing . gen_test #NEWLINE# def test_reload_changeplugins( self ) : #NEWLINE# #INDENT# self . assertEqual ( len ( self . a . watchers ) , 3 ) #NEWLINE# p = self . a . get_watcher ( 'plugin:myplugin' ) #NEWLINE# ( yield self . a . reload_from_config ( _CONF [ 'reload_changeplugins' ] ) ) #NEWLINE# self . assertEqual ( len ( p . a . watchers ) , 3 ) #NEWLINE# self . assertNotEqual ( self . a . get_watcher ( 'plugin:myplugin' ) , p ) #NEWLINE# ( yield self . _tearDown ( ) )