Change in vdsm[master]: Start issciadm tests - unfinished
danken at redhat.com
danken at redhat.com
Sat Oct 5 16:35:01 UTC 2013
Dan Kenigsberg has posted comments on this change.
Change subject: Start issciadm tests - unfinished
......................................................................
Patch Set 2:
(2 comments)
....................................................
File tests/iscsiadmTests.py
Line 1: # Copyright 2012 Red Hat, Inc.
It's 2013
Line 2: #
Line 3: # This program is free software; you can redistribute it and/or modify
Line 4: # it under the terms of the GNU General Public License as published by
Line 5: # the Free Software Foundation; either version 2 of the License, or
Line 63:
Line 64: class TestCommands(TestCaseBase):
Line 65:
Line 66: def setUp(self):
Line 67: self.savedCmd = iscsiadm.misc.execCmd
We have the monkeypatch module for these games.
Line 68: self.cmd = iscsiadm.misc.execCmd = FakeExecCmd()
Line 69:
Line 70: def tearDown(self):
Line 71: iscsiadm.misc.execCmd = self.savedCmd
--
To view, visit http://gerrit.ovirt.org/19856
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I9ed21408c7b496c384053ce02cdb66d47df9a14b
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgotliv at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list