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

Side by Side Diff: test/mm-list-modems

Issue 6731056: Update to test scripts to work with both ModemManager and Cromo (Closed) Base URL: ssh://gitrw.chromium.org:9222/flimflam.git@master
Patch Set: Fix review comments 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
« no previous file with comments | « test/mm-factory-reset ('k') | test/mm-poll-signal-strength » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
3 import dbus 7 import dbus
4 import mm 8 import mm
5 9
6 manager = mm.ModemManager() 10 devices = mm.EnumerateDevices()
7 11
8 devices = manager.manager.EnumerateDevices() 12 for manager, path in devices:
9
10 for path in devices:
11 print path 13 print path
OLDNEW
« no previous file with comments | « test/mm-factory-reset ('k') | test/mm-poll-signal-strength » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698