Change in vdsm[master]: xmlrpcTests: change skipNoKVM into a decorator

danken at redhat.com danken at redhat.com
Fri Dec 7 10:53:47 UTC 2012


Dan Kenigsberg has submitted this change and it was merged.

Change subject: xmlrpcTests: change skipNoKVM into a decorator
......................................................................


xmlrpcTests: change skipNoKVM into a decorator

After using skipNoKVM as decorator, the code looks cleaner.

class XMLRPCTest(TestCaseBase):
	@skipNoKVM
	def testMethod(self):
		...

Change-Id: I3b8507f3c5f1e1d2712a37fba0162c9aaf56c3a3
Signed-off-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
---
M tests/functional/xmlrpcTests.py
1 file changed, 14 insertions(+), 12 deletions(-)

Approvals:
  Royce Lv: Looks good to me, but someone else must approve
  Dan Kenigsberg: Looks good to me, approved
  Zhou Zheng Sheng: Verified


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3b8507f3c5f1e1d2712a37fba0162c9aaf56c3a3
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Royce Lv <lvroyce at linux.vnet.ibm.com>
Gerrit-Reviewer: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list