Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(991)

Side by Side Diff: client/site_tests/platform_DiskIterate/platform_DiskIterate.py

Issue 6905061: Remove platform_DiskIterate test due to removal of DeviceKit-Disks (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: Remove platform_DiskIterate test due to removal of DeviceKit-Disks Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 import logging, re, utils, dbus
2 from autotest_lib.client.bin import test
3 from autotest_lib.client.common_lib import error
4
5 class platform_DiskIterate(test.test):
6 version = 1
7
8 def run_once(self):
9
10 bus = dbus.SystemBus()
11
12 proxy = bus.get_object("org.freedesktop.DeviceKit.Disks",
13 "/org/freedesktop/DeviceKit/Disks")
14
15 foo = dbus.Interface(proxy, "org.freedesktop.DeviceKit.Disks")
16
17 arrayiter = foo.EnumerateDevices()
18
19 if not len(arrayiter):
20 raise error.TestFail('Unable to find at least one disk')
OLDNEW
« no previous file with comments | « client/site_tests/platform_DiskIterate/control ('k') | server/site_tests/suites/control.regression » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698