v1 -> v2:
- Add test case to extend logical pool when it is active
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 | 141 ++++++++++++++++++++++++++++++++
tests/test_model.py | 70 ----------------
tests/test_model_storagepool.py | 104 +++++++++++++++++++++++
tests/test_rest.py | 120 +--------------------------
tests/test_storagepool.py | 172 ---------------------------------------
tests/test_storagepoolxml.py | 171 ++++++++++++++++++++++++++++++++++++++
tests/utils.py | 11 +++
10 files changed, 481 insertions(+), 364 deletions(-)
create mode 100644 tests/test_mock_storagepool.py
create mode 100644 tests/test_model_storagepool.py
delete mode 100644 tests/test_storagepool.py
create mode 100644 tests/test_storagepoolxml.py
--
2.1.0