[Kimchi-devel] [PATCH 2/2] fix test case for volume filtering
lvroyce0210 at gmail.com
lvroyce0210 at gmail.com
Wed Jul 30 14:56:12 UTC 2014
From: Royce Lv <lvroyce at linux.vnet.ibm.com>
Test mock model passed an unsupported type when volume create,
fix it.
Signed-off-by: Royce Lv <lvroyce at linux.vnet.ibm.com>
---
tests/test_rest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_rest.py b/tests/test_rest.py
index 4feb298..544f06b 100644
--- a/tests/test_rest.py
+++ b/tests/test_rest.py
@@ -982,7 +982,7 @@ class RestTests(unittest.TestCase):
req = json.dumps({'name': name,
'capacity': 1024,
'allocation': 512,
- 'type': 'disk',
+ 'type': 'file',
'format': 'raw'})
resp = self.request('/storagepools/pool-1/storagevolumes',
req, 'POST')
--
1.8.3.2
More information about the Kimchi-devel
mailing list