

def test_handled_event_one_handler(setup, manager):
    'Test that handler is returned for events with one handler'
    handlers = setup.get_handlers(2)
    assert (len(handlers) == 1)
    assert (handlers[0].__class__ == EventHandlerA2)

dataset/ETHPy150Open Nordeus/pushkin/pushkin/tests/request/test_event_handler_manager.py test_handled_event_one_handler/VarMisuse@16/42 `manager`->`setup`