Author: gnichols
Date: 2012-02-09 16:49:23 +0000 (Thu, 09 Feb 2012)
New Revision: 1176
Modified:
trunk/tests/storage/storage.py
Log:
782197 - FEAT: v7 should support dbus udisks in place of hal/kudzu/hardware.py for storage
test
Modified: trunk/tests/storage/storage.py
===================================================================
--- trunk/tests/storage/storage.py 2012-02-09 15:38:34 UTC (rev 1175)
+++ trunk/tests/storage/storage.py 2012-02-09 16:49:23 UTC (rev 1176)
@@ -45,7 +45,6 @@
def plan(self, devices):
tests = dict()
- controllers = ''
for device in devices:
disk = self.planUDisks(device, devices)
@@ -76,6 +75,7 @@
def planHAL(self, device, devices):
disk = None
+ controllers = ''
if 'storage' in device.getProperty("info.capabilities") and
device.getProperty("storage.drive_type") in ["disk",
"sd_mmc"]:
disk = device.getProperty("block.device")
# bug#437866 , plan by each controller, block device's parent is the HD,
HD's parent is the controller, so need to track back twice
Show replies by date