Closed Bug 846466 Opened 13 years ago Closed 9 years ago

Support for getting user serial support not backwards compatible with older versions of the agent

Categories

(Testing :: Mozbase, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: wlach, Assigned: wlach)

Details

Attachments

(2 files)

When I added support for getting the user serial of a process in bug 838844, I neglected to test whether droid.py still worked properly on older versions of the agent. When I updated the code on one of the eideticker machines and tried to use it with the LG-G2X (still using an older version of the agent), I got this error: File "/home/mozauto/src/eideticker/src/mozbase/mozdevice/mozdevice/droid.py", line 31, in launchApplication acmd = [ "am", "start" ] + self._getExtraAmStartArgs() + \ File "/home/mozauto/src/eideticker/src/mozbase/mozdevice/mozdevice/droid.py", line 106, in _getExtraAmStartArgs if self.userSerial is not None: AttributeError: 'DroidSUT' object has no attribute 'userSerial' Easily fixed.
The previous one had some unintended stuff in it
Attachment #719649 - Flags: review?(gbrown)
Comment on attachment 719649 [details] [diff] [review] Second try at a quick patch Review of attachment 719649 [details] [diff] [review]: ----------------------------------------------------------------- I haven't had cause to use userSerial much, but this LGTM.
Attachment #719649 - Flags: review?(gbrown) → review+
Attachment #719648 - Flags: review?(gbrown)
We don't support the agent anymore.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: