The ironic.tests.unit.common.test_states Module

class ironic.tests.unit.common.test_states.StatesTest(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test_state_values_length()[source]

State values can be a maximum of 15 characters because they are stored in the database and the size of the database entry is 15 characters. This is specified in db/sqlalchemy/models.py