

def test_handled_event_multiple_handlers(setup, manager):
    'Test that all handlers are returned for events with multiple handlers.'
    handlers = manager.get_handlers(1)
    assert (len(handlers) == 2)
    assert (manager[0].__class__ == EventHandlerA1)
    assert (handlers[1].__class__ == EventHandlerB1)

dataset/ETHPy150Open Nordeus/pushkin/pushkin/tests/request/test_event_handler_manager.py test_handled_event_multiple_handlers/VarMisuse@35/64 `handlers`->`manager`