Skip to content

Commit

Permalink
Fix ADB tests to account for changes in google#151
Browse files Browse the repository at this point in the history
  • Loading branch information
embray authored and JeffLIrion committed May 29, 2019
1 parent ce04bf0 commit b391d5b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/adb_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@


class BaseAdbTest(unittest.TestCase):
def setUp(self):
# Ensure that the next local-id used by the AdbMessage class
# is reset back to LOCAL_ID to account for the changes in
# https://github.com/google/python-adb/pull/151
adb_protocol.AdbMessage._local_id = LOCAL_ID

@classmethod
def _ExpectWrite(cls, usb, command, arg0, arg1, data):
Expand Down

0 comments on commit b391d5b

Please sign in to comment.