diff options
| author | Boris Pavlovic <boris@pavlovic.me> | 2013-03-12 11:05:30 +0400 |
|---|---|---|
| committer | Boris Pavlovic <boris@pavlovic.me> | 2013-03-13 00:22:14 +0400 |
| commit | 27b4c62b69464ce1211e91dbc61643ae47798ccd (patch) | |
| tree | 997be74e6f1476d91c84eb3be3c3414a7e74738b /nova/openstack | |
| parent | ae251b99a3fb6aa99ec8898152d79dfa2c026a92 (diff) | |
| download | nova-27b4c62b69464ce1211e91dbc61643ae47798ccd.tar.gz nova-27b4c62b69464ce1211e91dbc61643ae47798ccd.tar.xz nova-27b4c62b69464ce1211e91dbc61643ae47798ccd.zip | |
Add missing tests for db.block_device_mapping_* methods
There was no tests in test_db_api for block_device_mapping_* methods.
Add tests to ensure that all works. Also these tests allow us to refactor
work with session in these methods.
Fix bug in is_ephemeral we should return True or False not instance of
_sre.SRE_Match or None.
blueprint db-api-tests
Change-Id: I3cac17e7d2c8d0b2608fb9a78ea29210f025222b
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
