[libgovirt] tests: Prepend 'ovirt-engine' to the test data hrefs
- From: Eduardo de Barros Lima <eblima src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgovirt] tests: Prepend 'ovirt-engine' to the test data hrefs
- Date: Wed, 9 Aug 2017 20:02:58 +0000 (UTC)
commit cb1cebf2f5749d76e36316f38ab90d7c98d94c74
Author: Christophe Fergeau <cfergeau redhat com>
Date: Tue Jul 25 16:22:57 2017 +0200
tests: Prepend 'ovirt-engine' to the test data hrefs
/ovirt-engine/ is always present in current oVirt versions
tests/test-govirt.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tests/test-govirt.c b/tests/test-govirt.c
index c09ac94..0528512 100644
--- a/tests/test-govirt.c
+++ b/tests/test-govirt.c
@@ -165,10 +165,10 @@ static void test_govirt_list_vms(void)
GovirtMockHttpd *httpd;
const char *vms_body = "<vms> \
- <vm href=\"api/vms/uuid0\" id=\"uuid0\"> \
+ <vm href=\"/ovirt-engine/api/vms/uuid0\" id=\"uuid0\"> \
<name>vm0</name> \
</vm> \
- <vm href=\"api/vms/uuid1\" id=\"uuid1\"> \
+ <vm href=\"/ovirt-engine/api/vms/uuid1\" id=\"uuid1\"> \
<name>vm1</name> \
<type>desktop</type> \
<status><state>up</state></status> \
@@ -185,7 +185,7 @@ static void test_govirt_list_vms(void)
<copy_paste_enabled>true</copy_paste_enabled> \
</display> \
</vm> \
- <vm href=\"api/vms/uuid2\" id=\"uuid2\"> \
+ <vm href=\"/ovirt-engine/api/vms/uuid2\" id=\"uuid2\"> \
<name>vm2</name> \
</vm> \
</vms>";
@@ -341,10 +341,10 @@ static void test_govirt_list_duplicate_vms(void)
GovirtMockHttpd *httpd;
const char *vms_body = "<vms> \
- <vm href=\"api/vms/uuid0\" id=\"uuid0\"> \
+ <vm href=\"/ovirt-engine/api/vms/uuid0\" id=\"uuid0\"> \
<name>vm0</name> \
</vm> \
- <vm href=\"api/vms/uuid1\" id=\"uuid1\"> \
+ <vm href=\"/ovirt-engine/api/vms/uuid1\" id=\"uuid1\"> \
<name>vm0</name> \
</vm> \
</vms>";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]