
From: Royce Lv <lvroyce@linux.vnet.ibm.com> Test mock model passed an unsupported type when volume create, fix it. Signed-off-by: Royce Lv <lvroyce@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