]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Refactor api.v2.volumes unit tests
authorVipin Balachandran <vbala@vmware.com>
Fri, 31 Jul 2015 12:20:48 +0000 (17:50 +0530)
committerVipin Balachandran <vbala@vmware.com>
Wed, 5 Aug 2015 05:44:19 +0000 (11:14 +0530)
commitf353836d7fa8862c2e5fbebb2dc0e108dcc93045
tree2687f06b6e42a6969925a813bd2be8e28feb485b
parente1e33286ce2f2ed1028423691bc29b89df3da5d2
Refactor api.v2.volumes unit tests

This patch refactors api.v2.volumes unit tests to use helper
methods added in commit I7c4225de5d32ecd0ad78fc7c0ff847a8bee7b7da.
It also fixes the order of assertEquals in refactored tests.

Partial-Bug: #1277104
Change-Id: I5b5aa9baea07fd46a52bb6c15897949a42748847
cinder/tests/unit/api/v2/stubs.py
cinder/tests/unit/api/v2/test_volumes.py