]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Refactor the code in heat/tests/test_volume.py
authorZhang Lei (Sneeze) <sneezezhang@cienet.com.cn>
Mon, 22 Jul 2013 02:25:53 +0000 (10:25 +0800)
committerZhang Lei (Sneeze) <sneezezhang@cienet.com.cn>
Mon, 22 Jul 2013 02:25:53 +0000 (10:25 +0800)
commitd12ebfa7b2e8d9ca93c94574cdfbe94ba5ad603a
tree909e90b884c7ff4b8cc58d394de701a1d5b9f319
parentcd7acb5027e6e0c2e2bac80669f468ef95a1187b
Refactor the code in heat/tests/test_volume.py

The test code in heat/tests/test_volume.py has lots of
duplicated code and logic.
Extract them into common method and reuse the methods.

Change-Id: I5053c53a3eebf5f43cddfb96ee63a1f4f8615e76
heat/tests/test_volume.py