def METHOD_NAME(self, session):
    agent = AgentFactory.create()
    executors = [
        {'executor_name': 'nmap_executor', 'args': {'param1': True}}
    ]
    assert update_executors(agent, executors)