

@staticmethod
def create_hypervisors_stats(attrs=None, count=2):
    'Create multiple fake hypervisors stats.\n\n        :param Dictionary attrs:\n            A dictionary with all attributes\n        :param int count:\n            The number of hypervisors to fake\n        :return:\n            A list of FakeResource objects faking the hypervisors\n        '
    hypervisors = []
    for i in range(0, count):
        hypervisors.append(FakeHypervisorStats.create_one_hypervisor_stats(hypervisors))
    return hypervisors

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/compute/v2/fakes.py FakeHypervisorStats.create_hypervisors_stats/VarMisuse@46/148 `attrs`->`hypervisors`