nova/nova/tests/unit/notifications/objects
Eric Fried bce0854959 DRY: Build ImageMetaPropsPayload from ImageMetaProps
ImageMetaPropsPayload (for notifications) was supposed to contain
exactly the same fields as ImageMetaProps itself; and the SCHEMA member
was those same keys in a trivially different shape. And we were having
trouble remembering to keep these two objects in sync before. So this
commit eliminates the repetition and just generates
ImageMetaPropsPayload's `fields` and `SCHEMA` from
ImageMetaProps.fields.

Change-Id: I7dc38f7f5a62098fb0c366736f27e23bd7b7ee86
2019-12-13 19:46:12 +00:00
..
__init__.py Move notification related code to separate package 2016-06-08 11:32:53 +02:00
test_flavor.py Remove compatibility method from FlavorPayload 2017-11-01 15:20:55 -04:00
test_instance.py Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
test_notification.py DRY: Build ImageMetaPropsPayload from ImageMetaProps 2019-12-13 19:46:12 +00:00
test_service.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00