The ironic.tests.unit.common.test_states Module

The ironic.tests.unit.common.test_states Module

class ironic.tests.unit.common.test_states.StatesTest(*args, **kwds)[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

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.