b16584c6af
![Dan Smith](/assets/img/avatar_default.png)
The recently-added FakeStateMachineField raises exceptions with strings that have improper grammar, such as: FooObject's are not allowed transition out of ERROR state to ACTIVE ... In addition to the grammar issue, the field's name in the object is not provided which may make it very difficult to debug. Finally, the tests for this field did not actually validate the string of the exception. This patch corrects the strings, includes the field name, and makes the test actually validate that the output looks like we expect. Change-Id: I7bee955fba15b9570416518b16ac64181bf7e320
oslo.versionedobjects
The oslo.versionedobjects library provides a generic versioned object model that is RPC-friendly, with inbuilt serialization, field typing, and remotable method calls. It can be used to define a data model within a project independent of external APIs or database schema for the purposes of providing upgrade compatibility across distributed services.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/oslo.versionedobjects
- Source: http://git.openstack.org/cgit/openstack/oslo.versionedobjects
- Bugs: http://bugs.launchpad.net/oslo.versionedobjects
Description
Languages
Python
100%