@staticmethod
    def create_hypervisors(attrs=None, count=2):
        hypervisors = []
        for i in range(0, count):
            hypervisors.append(FakeHypervisor.create_one_hypervisor(attrs))

        return hypervisors
:ivar function: The function to be called
dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/compute/v2/fakes.py/FakeHypervisor.create_hypervisors--crossover with--dataset/ETHPy150Open pmbarrett314/curses-menu/cursesmenu/items/function_item.py/FunctionItem.__init__