Closed Bug 1019043 Opened 6 years ago Closed 6 years ago

Return None when getting the device manager in B2GTestCaseMixin if target is B2G desktop

Categories

(Testing :: Marionette, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla32

People

(Reporter: davehunt, Assigned: davehunt)

Details

Attachments

(1 file)

Rather than guarding against calling get_dm or the device_manager property in B2GTestCaseMixin when the target is B2G desktop, we should just simply return None.
Comment on attachment 8432605 [details] [diff] [review]
Return None for device manager on B2G desktop. v1.0

Review of attachment 8432605 [details] [diff] [review]:
-----------------------------------------------------------------

thanks!
Attachment #8432605 - Flags: review?(mdas) → review+
https://hg.mozilla.org/mozilla-central/rev/85db97aa8845
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in before you can comment on or make changes to this bug.