Signed-off-by: Aline Manera <alinefm(a)linux.vnet.ibm.com>
---
src/wok/plugins/kimchi/tests/test_mockmodel.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/wok/plugins/kimchi/tests/test_mockmodel.py
b/src/wok/plugins/kimchi/tests/test_mockmodel.py
index 2e6b60f..4c7926f 100644
--- a/src/wok/plugins/kimchi/tests/test_mockmodel.py
+++ b/src/wok/plugins/kimchi/tests/test_mockmodel.py
@@ -65,7 +65,8 @@ class MockModelTests(unittest.TestCase):
# Create a VM
req = json.dumps({'name': 'test', 'cdrom': fake_iso})
request(host, ssl_port, '/plugins/kimchi/templates', req,
'POST')
- req = json.dumps({'name': 'test-vm', 'template':
'/templates/test'})
+ req = json.dumps({'name': 'test-vm',
+ 'template': '/plugins/kimchi/templates/test'})
resp = request(host, ssl_port, '/plugins/kimchi/vms', req,
'POST')
task = json.loads(resp.read())
wait_task(model.task_lookup, task['id'])
--
2.1.0