@staticmethod
    def create_flavors(attrs=None, count=2):
        flavors = []
        for i in range(0, count):
            flavors.append(FakeFlavor.create_one_flavor(attrs))

        return flavors
Create multiple fake flavors.
dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/compute/v2/fakes.py/FakeFlavor.create_flavors