

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

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/compute/v2/fakes.py FakeSecurityGroup.create_security_groups/original