

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

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/compute/v2/fakes.py FakeKeypair.create_keypairs/original