I have a branch with this patch set applied if you want to test.
Repo:
https://github.com/alinefm/kimchi.git
Branch: vol-tests
On 22/01/2015 12:36, Aline Manera wrote:
This patch set depends on:
- [PATCH] Run Model tests prior to MockModel tests
- [PATCH 0/8 V2] Storage pool tests and bug fixes
Aline Manera (5):
Bug fix: Use VIR_STORAGE_VOL_RESIZE_SHRINK flag when decreasing the
volume size
Bug fix: Allow clonning a volume from a pool with non-ASCII characters
Storage volumes: Update docs/API.md
Update rollback_wrapper function to handle nested API
Storage volume tests
docs/API.md | 4 +-
src/kimchi/model/storagevolumes.py | 24 +++--
tests/test_mock_storagevolume.py | 94 +++++++++++++++++
tests/test_model.py | 125 ++--------------------
tests/test_model_storagevolume.py | 211 +++++++++++++++++++++++++++++++++++++
tests/test_rest.py | 138 ------------------------
tests/utils.py | 4 +-
7 files changed, 336 insertions(+), 264 deletions(-)
create mode 100644 tests/test_mock_storagevolume.py
create mode 100644 tests/test_model_storagevolume.py