tempest/api/baremetal/base.py
def create_chassis(cls, description=None, expect_errors=False):
        """
        Wrapper utility for creating test chassis.

        :param description: A description of the chassis. if not supplied,
            a random value will be generated.
        :return: Created chassis.

        """
        description = description or data_utils.rand_name('test-chassis-')
        resp, body = cls.client.create_chassis(description=description)

        return {'chassis': body, 'response': resp}

        Wrapper utility for creating test chassis.

        :param description: A description of the chassis. if not supplied,
            a random value will be generated.
        :return: Created chassis.

        
Wrapper utility for creating test chassis.
Wrapper utility for creating test chassis .
def create_chassis(cls, description=None, expect_errors=False):
        description = description or data_utils.rand_name('test-chassis-')
        resp, body = cls.client.create_chassis(description=description)
        return {'chassis': body, 'response': resp}
def create_chassis ( cls , description = None , expect_errors = False ) : description = description or data_utils . rand_name ( 'test-chassis-' ) resp , body = cls . client . create_chassis ( description = description ) return { 'chassis' : body , 'response' : resp }
Wrapper utility for creating test chassis.
Wrapper utility for creating test chassis .
"""
        Wrapper utility for creating test chassis.

        :param description: A description of the chassis. if not supplied,
            a random value will be generated.
        :return: Created chassis.

        """
None
cls
description
A description of the chassis. if not supplied,
a random value will be generated.
A description of the chassis . if not supplied a random value will be generated .
expect_errors