[Kimchi-devel] [PATCH 3/3 V2] Raw volumes validation: update tests
pvital at linux.vnet.ibm.com
pvital at linux.vnet.ibm.com
Wed Sep 16 19:22:53 UTC 2015
From: Paulo Vital <pvital at linux.vnet.ibm.com>
Update test_model_storagevolume.py to handle the changes in new 'raw'
volume validation.
Signed-off-by: Paulo Vital <pvital at linux.vnet.ibm.com>
---
tests/test_model_storagevolume.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_model_storagevolume.py b/tests/test_model_storagevolume.py
index 5e76d3d..82c38e2 100644
--- a/tests/test_model_storagevolume.py
+++ b/tests/test_model_storagevolume.py
@@ -253,7 +253,7 @@ class StorageVolumeTests(unittest.TestCase):
self.assertEquals(200, resp.status)
keys = [u'name', u'type', u'capacity', u'allocation', u'path',
- u'used_by', u'format']
+ u'used_by', u'format', u'isvalid']
for vol in json.loads(resp.read()):
resp = self.request(uri + '/' + vol['name'])
self.assertEquals(200, resp.status)
--
2.4.3
More information about the Kimchi-devel
mailing list