]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Cleanup and more tests for db.api methods
authorSergey Skripnick <sskripnick@mirantis.com>
Wed, 28 Aug 2013 06:52:53 +0000 (09:52 +0300)
committerSergey Skripnick <sskripnick@mirantis.com>
Fri, 4 Oct 2013 09:27:15 +0000 (12:27 +0300)
commit370644276487d378ab67c29faac8d15a5083e192
treea311d898bf4e3354d3542a41bacc4e8b374cebcd
parent3cd27defb1c820ceadd8bbc6bfd5a405a7376cdb
Cleanup and more tests for db.api methods

New tests for methods:

 backup_*
 quota_*
 reservation_*
 snapshot_*
 transfer_*
 volume_*

Removed unnecessary methods:

 quota_usage_create
 volume_metadata_get_item
 snapshot_metadata_get_item
 volume_type_extra_specs_get_item
 exact_filter

Improved coverage of existing tests.

Improved ModelsObjectComparatorMixin.

blueprint: db-api-tests

Change-Id: Ia2a3845f27a7b4b08fd8a16c6010513d213e642f
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/tests/db/test_transfers.py
cinder/tests/test_db_api.py
cinder/tests/test_volume.py
cinder/tests/test_volume_glance_metadata.py