commit | c6a7fdebdeed7522aa1f7ddbe5b3d67a2f102d3f | [log] [tgz] |
---|---|---|
author | Esteban Barrero-Hernandez <estebanbarrero@google.com> | Thu Aug 22 21:53:34 2024 +0000 |
committer | Esteban Barrero-Hernandez <estebanbarrero@google.com> | Fri Aug 23 17:23:20 2024 +0000 |
tree | 02e0740e23498f89db52e0640d7af270ee2c31ab | |
parent | b2e058e7212474d9f67ef4eb4a6e28df0c65aa47 [diff] |
Refactored device.py and tests/device_unit_test.py. Removed the unused abstract Device class from device.py and replaced mocking of AdbDevice method calls with mocking of subprocess.run calls in the test_root_device_success and test_root_device_times_out_error unit tests of tests/device_unit_test.py. Test: atest device_unit_test Bug: 355053544 Change-Id: I57e33810f247d6c9d30906c0fdc672e4695d3378