[Kimchi-devel] [PATCH 3/9] Fix Ginger Base tests
Aline Manera
alinefm at linux.vnet.ibm.com
Fri Oct 23 23:20:28 UTC 2015
Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
src/wok/plugins/gingerbase/tests/test_rest.py | 2 +-
src/wok/plugins/kimchi/tests/test_rest.py | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/wok/plugins/gingerbase/tests/test_rest.py b/src/wok/plugins/gingerbase/tests/test_rest.py
index 75729cb..a8138c6 100644
--- a/src/wok/plugins/gingerbase/tests/test_rest.py
+++ b/src/wok/plugins/gingerbase/tests/test_rest.py
@@ -140,7 +140,7 @@ class RestTests(unittest.TestCase):
resp = request(host, ssl_port,
'/plugins/gingerbase/debugreports/report1')
debugre = json.loads(resp.read())
- resp = request(host, ssl_port, debugre['uri'])
+ resp = request(host, ssl_port, '/' + debugre['uri'])
self.assertEquals(200, resp.status)
def test_repositories(self):
diff --git a/src/wok/plugins/kimchi/tests/test_rest.py b/src/wok/plugins/kimchi/tests/test_rest.py
index 670a6b5..8f04ada 100644
--- a/src/wok/plugins/kimchi/tests/test_rest.py
+++ b/src/wok/plugins/kimchi/tests/test_rest.py
@@ -1218,8 +1218,7 @@ class RestTests(unittest.TestCase):
conf = json.loads(resp)
keys = [u'libvirt_stream_protocols', u'qemu_stream', u'qemu_spice',
- u'screenshot', u'system_report_tool', u'update_tool',
- u'repo_mngt_tool', u'federation', u'kernel_vfio', u'auth',
+ u'screenshot', u'federation', u'kernel_vfio', u'auth',
u'nm_running', u'mem_hotplug_support']
self.assertEquals(sorted(keys), sorted(conf.keys()))
--
2.1.0
More information about the Kimchi-devel
mailing list