nova/nova/tests/unit/notifications
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
..
objects DRY: Build ImageMetaPropsPayload from ImageMetaProps 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_base.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00