Skip to content

Fix adb.partitions listing #802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 14, 2016
Merged

Conversation

zachriggle
Copy link
Member

The code for listing partitions was broken.

@TethysSvensson
Copy link
Contributor

Do we have tests for this?

@zachriggle
Copy link
Member Author

zachriggle commented Dec 1, 2016

Unfortunately, tests aren't possible because the emulator does not follow this partition scheme.

>>> adb.devices()
(AdbDevice(serial='emulator-5554', type='device', port='emulator', product='sdk_phone_armv7', model='sdk phone armv7', device='generic'),)
>>> list(adb.partitions)
[*] Enabling root on emulator-5554
[]

@zachriggle zachriggle merged commit eaf6402 into Gallopsled:stable Dec 14, 2016
@zachriggle zachriggle deleted the fix-partitions branch December 14, 2016 21:38
Copy link
Contributor

@TethysSvensson TethysSvensson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants