Alex Miller has posted comments on this change.
Change subject: pseudomodem: Implement Enable.
......................................................................
Patch Set 5: (6 inline comments)
....................................................
File client/cros/cellular/pseudomodem/autotest_common.py
Line 1: # Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
This file should be an exact copy of the common.py that you can find elsewhere in autotest, with only the |client_dir =| line changed to point to the client folder via a relative path.
Please keep the name as common.py.
....................................................
File client/cros/cellular/pseudomodem/dbus_std_ifaces.py
Line 54: path -- The DBus object path of this object.
config?
Line 58: raise TypeError('A value for "path" has to be provided.')
If you have to provide a value, why are you providing a default argument of |None|?
Line 59: if not bus:
This would make more sense if you flipped this whole if block to do |if bus|.
....................................................
File client/cros/cellular/pseudomodem/modem.py
Line 19: from autotest_lib.client.common_lib import error
I can't seem to find what in your code needs this import?
Line 273: band_list.append(dbus.types.UInt32(band))
band_list = [dbus.types.UInt32(band) for band in bands]
Gerrit-MessageType: comment
Gerrit-Change-Id: I32d57d3664eb4ef3acb0ef46464736b39e8fd955
Gerrit-PatchSet: 5
Gerrit-Project: chromiumos/third_party/autotest
Gerrit-Branch: master
Gerrit-Owner: Arman Uguray <
arma...@chromium.org>
Gerrit-Reviewer: Alex Miller <
mill...@chromium.org>