@@ -333,7 +333,7 @@ def test_get_state(self):
333333 supervisord = self ._makeOne (options )
334334 self .assertEqual (supervisord .get_state (), SupervisorStates .RUNNING )
335335
336- def test_diff_add_remove (self ):
336+ def test_diff_to_active_added_and_removed (self ):
337337 options = DummyOptions ()
338338 supervisord = self ._makeOne (options )
339339
@@ -375,7 +375,7 @@ def test_diff_add_remove(self):
375375 self .assertEqual (changed , [])
376376 self .assertEqual (removed , [group1 ])
377377
378- def test_diff_changed (self ):
378+ def test_diff_to_active_changed (self ):
379379 from supervisor .options import ProcessConfig , ProcessGroupConfig
380380
381381 options = DummyOptions ()
@@ -440,7 +440,7 @@ def make_gconfig(name, pconfigs):
440440 self .assertEqual ([added , removed ], [[], []])
441441 self .assertEqual (changed , [group1 ])
442442
443- def test_diff_changed_eventlistener (self ):
443+ def test_diff_to_active_changed_eventlistener (self ):
444444 from supervisor .events import EventTypes
445445 from supervisor .options import EventListenerConfig , EventListenerPoolConfig
446446
@@ -478,7 +478,7 @@ def make_econfig(*pool_event_names):
478478 def make_gconfig (name , pconfigs , pool_events , result_handler = 'supervisor.dispatchers:default_handler' ):
479479 return EventListenerPoolConfig (options , name , 25 , pconfigs , 10 , pool_events , result_handler )
480480
481- # Test that changing an event listener command causes the diff_to_activate
481+ # Test that changing an eventlistener's command is detected by diff_to_active
482482 pconfig = make_pconfig ('process1' , 'process1-new' )
483483 econfig = make_econfig ("TICK_60" )
484484 group1 = make_gconfig ('group1' , [pconfig ], econfig )
@@ -503,7 +503,7 @@ def make_gconfig(name, pconfigs, pool_events, result_handler='supervisor.dispatc
503503 self .assertEqual ([added , removed ], [[], []])
504504 self .assertEqual (changed , [group1 ])
505505
506- # Test that changing the event triggers diff_to_activate
506+ # Test that changing an eventlistener's event is detected by diff_to_active
507507 options = DummyOptions ()
508508 supervisord = self ._makeOne (options )
509509
@@ -531,7 +531,7 @@ def make_gconfig(name, pconfigs, pool_events, result_handler='supervisor.dispatc
531531 self .assertEqual ([added , removed ], [[], []])
532532 self .assertEqual (changed , [group1 ])
533533
534- # Test that changing the result_handler triggers diff_to_activate
534+ # Test that changing an eventlistener's result_handler is detected by diff_to_active
535535 options = DummyOptions ()
536536 supervisord = self ._makeOne (options )
537537
0 commit comments