Dan Kenigsberg has submitted this change and it was merged.

Change subject: tests: Cleanup apiTests exception handling
......................................................................


tests: Cleanup apiTests exception handling

As Dan reported in http://gerrit.ovirt.org/#/c/9442/ the behavior of
SocketServer differs between versions of python which causes the
exception raised by sendMessage() to change.  Rather than key the
expected exception based on the Python version, clean up the flow so it
will behave the same across Python versions.

Change-Id: I818e5e7b8dd0a1abad94deb65e32c1d76225b839
Signed-off-by: Adam Litke <[email protected]>
---
M tests/apiTests.py
1 file changed, 34 insertions(+), 11 deletions(-)

Approvals:
  Dan Kenigsberg: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I818e5e7b8dd0a1abad94deb65e32c1d76225b839
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: ShaoHe Feng <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to