Yaniv Bronhaim has submitted this change and it was merged.

Change subject: tests: make api check support falsey values
......................................................................


tests: make api check support falsey values

the current vmApiTests assume truthy values in the replies.
The schema actually doesn't requires that, and falsey values
(e.g. empty lists) are actually valid.

This patch fixes the tests to support them.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1120246
Change-Id: I4f974b08589a077dedba3006b29f6bb29aee05ba
Signed-off-by: Francesco Romani <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/29438
Reviewed-by: Martin Sivák <[email protected]>
Reviewed-by: Dan Kenigsberg <[email protected]>
Reviewed-by: Piotr Kliczewski <[email protected]>
Tested-by: Martin Sivák <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/30067
---
M tests/vmApiTests.py
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Piotr Kliczewski: Looks good to me, but someone else must approve
  Martin Sivák: Verified
  Dan Kenigsberg: Looks good to me, approved
  Francesco Romani: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/30067
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4f974b08589a077dedba3006b29f6bb29aee05ba
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Martin Sivák <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Martin Sivák <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Piotr Kliczewski <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: [email protected]
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to