[Kimchi-devel] [PATCH 0/8] Storage pool tests and bug fixes

Aline Manera alinefm at linux.vnet.ibm.com
Tue Jan 13 19:16:39 UTC 2015


Aline Manera (8):
  Rename test_storagepool.py to test_storagepoolxml.py
  Storage Pools: Update docs/API.md
  Storage pool: Fix encoding/decoding while dealing with storage pools
  MockModel: Override storage pool validation
  MockModel: Add mock code to list partitions to /host/partitions API
  MockModel: Extend logical storage pool
  MockModel: Fix devices filter
  Storage pool tests

 docs/API.md                      |   5 +-
 src/kimchi/mockmodel.py          |  45 ++++++++
 src/kimchi/model/storagepools.py |   6 +-
 tests/test_mock_storagepool.py   | 156 ++++++++++++++++++++++++++
 tests/test_model.py              |  70 ------------
 tests/test_rest.py               | 120 +-------------------
 tests/test_storagepool.py        | 236 ++++++++++++++-------------------------
 tests/test_storagepoolxml.py     | 171 ++++++++++++++++++++++++++++
 tests/utils.py                   |  11 ++
 9 files changed, 476 insertions(+), 344 deletions(-)
 create mode 100644 tests/test_mock_storagepool.py
 create mode 100644 tests/test_storagepoolxml.py

-- 
2.1.0




More information about the Kimchi-devel mailing list