

@staticmethod
def get_servers(servers=None, count=2):
    'Get an iterable MagicMock object with a list of faked servers.\n\n        If servers list is provided, then initialize the Mock object with the\n        list. Otherwise create one.\n\n        :param List servers:\n            A list of FakeResource objects faking servers\n        :param int count:\n            The number of servers to fake\n        :return:\n            An iterable Mock object with side_effect set to a list of faked\n            servers\n        '
    if (servers is None):
        servers = FakeServer.create_servers(servers)
    return mock.MagicMock(side_effect=servers)

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/compute/v2/fakes.py FakeServer.get_servers/VarMisuse@36/198 `count`->`servers`