
Commit e9cd4666 changed the way Kimchi validates the image file to create a Template. So update the test cases accordingly. Signed-off-by: Aline Manera <alinefm@linux.vnet.ibm.com> --- src/wok/plugins/kimchi/tests/test_model.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/wok/plugins/kimchi/tests/test_model.py b/src/wok/plugins/kimchi/tests/test_model.py index 55117cf..485b078 100644 --- a/src/wok/plugins/kimchi/tests/test_model.py +++ b/src/wok/plugins/kimchi/tests/test_model.py @@ -253,9 +253,6 @@ class ModelTests(unittest.TestCase): self.assertEquals('finished', inst.task_lookup(task_id)['status']) vol_path = inst.storagevolume_lookup('default', vol)['path'] - params = {'name': 'test', 'disks': [{'base': vol_path}]} - self.assertRaises(OperationFailed, inst.templates_create, params) - # Hack the model objstore to add a new template # It is needed as the image file must be a bootable image when # using model -- 2.1.0