Dan Kenigsberg has uploaded a new change for review.

Change subject: volumeTests: avoid AttributeError during __del__
......................................................................

volumeTests: avoid AttributeError during __del__

Since sd.StorageDomain.__del__() uses its self.stat,
FileDomainMockObject must expose it.

Change-Id: Ibfc602f419a7e1c95b9a86c58a7dbb561de8a625
Signed-off-by: Dan Kenigsberg <[email protected]>
---
M tests/volumeTests.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/29/23929/1

diff --git a/tests/volumeTests.py b/tests/volumeTests.py
index 0ec05e5..6e4a3b2 100644
--- a/tests/volumeTests.py
+++ b/tests/volumeTests.py
@@ -31,6 +31,7 @@
     def __init__(self, mountpoint, sdUUID):
         self.mountpoint = mountpoint
         self.sdUUID = sdUUID
+        self.stat = None
 
     @property
     def oop(self):


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibfc602f419a7e1c95b9a86c58a7dbb561de8a625
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to