summaryrefslogtreecommitdiff
path: root/nova/tests/unit/test_notifications.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Make notifications use Instance.get_flavor()Dan Smith2014-11-201-51/+52
| | | | | | | | | | | | | | This makes the notifications.info_from_instance() method use the Instance.get_flavor() method to retrieve flavor information, instead of assuming that it is in system_metadata. This requires that it is passed an Instance object, so this patch also converts the code to make that assumption (which needs doing anyway) and fixes remaining dict-using callers to pass the object. This will be required by a subsequent patch to refactor flavor storage. Related to blueprint flavor-from-sysmeta-to-blob Change-Id: I6e4e07807cb6cd173d54137d4fe8d9b1a0d49709
* move all tests to nova/tests/unitSean Dague2014-11-121-0/+394
As part of the split of functional and unit tests we need to isolate the unit tests into a separate directory for having multiple test targets in a sane way. Part of bp:functional-tests-for-nova Change-Id: Id42ba373c1bda6a312b673ab2b489ca56da8c628