Antoni Segura Puimedon has posted comments on this change.
Change subject: Fix test errors on el6
......................................................................
Patch Set 1: I would prefer that you didn't submit this
(1 inline comment)
....................................................
File tests/jsonRpcTests.py
Line 253: with closing(client):
Line 254: try:
Line 255: client.callMethod("I.DO.NOT.EXIST :(", [], 10)
Line 256: self.fail("Exception expected")
Line 257: except JsonRpcError, ex:
Could you please, if you keep it in portable try except, put the except with
the new style of:
except FoobarError as ex:
The same for line 272.
Line 258: self.assertEquals(ex.code,
Line 259:
JsonRpcMethodNotFoundError().code)
Line 260:
Line 261: @permutations(REACTOR_TYPE_PERMUTATIONS)
--
To view, visit http://gerrit.ovirt.org/11350
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I92e1f6a9c8931982b2467ca4b69a6ec819eb0d16
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches