]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Cleanup for cinder tests with ConsistencyGroups
authorDaniel Tadrzak <daniel.tadrzak@intel.com>
Thu, 30 Jul 2015 16:48:34 +0000 (18:48 +0200)
committerDaniel Tadrzak <daniel.tadrzak@intel.com>
Mon, 17 Aug 2015 12:29:37 +0000 (14:29 +0200)
commit9f68b7d493435948b0e1e0305300f18a6a6f5c86
treecc6460ac47c577ce515f6e765bce9b8eaba9504d
parent4c1acb6b821e0c3464ca04987698f5b7c803b883
Cleanup for cinder tests with ConsistencyGroups

Switch cinder tests to use ConsistencyGroup objects instead of directly
calls to db. Additionally switch over from dict to object notation.

Drivers tests need to be fixed in other patch.

Partial-Implements: blueprint cinder-objects
Change-Id: Ib3d4c791e095d89e7bc5e5e9a6b26e8433517ffb
cinder/consistencygroup/api.py
cinder/tests/unit/api/contrib/test_cgsnapshots.py
cinder/tests/unit/api/contrib/test_consistencygroups.py
cinder/tests/unit/test_storwize_svc.py
cinder/tests/unit/test_volume.py
cinder/tests/unit/utils.py