From 2c4935e36fdab30d83c5179b14154617d4266820 Mon Sep 17 00:00:00 2001 From: Jeff Irion Date: Mon, 21 Dec 2020 22:27:05 -0800 Subject: [PATCH] Minor fixes --- adb_shell/adb_device.py | 2 +- adb_shell/adb_device_async.py | 2 +- tests/test_adb_device.py | 4 ++-- tests/test_adb_device_async.py | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/adb_shell/adb_device.py b/adb_shell/adb_device.py index b468ac9..8b5b25e 100644 --- a/adb_shell/adb_device.py +++ b/adb_shell/adb_device.py @@ -387,7 +387,7 @@ def exec_out(self, command, transport_timeout_s=None, read_timeout_s=constants.D Returns ------- bytes, str - The output of the ADB shell command as a string if ``decode`` is True, otherwise as bytes. + The output of the ADB exec-out command as a string if ``decode`` is True, otherwise as bytes. """ if not self.available: diff --git a/adb_shell/adb_device_async.py b/adb_shell/adb_device_async.py index 440a08c..d09c7be 100644 --- a/adb_shell/adb_device_async.py +++ b/adb_shell/adb_device_async.py @@ -382,7 +382,7 @@ async def exec_out(self, command, transport_timeout_s=None, read_timeout_s=const Returns ------- bytes, str - The output of the ADB shell command as a string if ``decode`` is True, otherwise as bytes. + The output of the ADB exec-out command as a string if ``decode`` is True, otherwise as bytes. """ if not self.available: diff --git a/tests/test_adb_device.py b/tests/test_adb_device.py index 68978f6..537d88d 100644 --- a/tests/test_adb_device.py +++ b/tests/test_adb_device.py @@ -499,10 +499,10 @@ def test_root(self): # ======================================================================= # # # - # `exec` test # + # `exec_out` test # # # # ======================================================================= # - def test_exec(self): + def test_exec_out(self): self.assertTrue(self.device.connect()) # Provide the `bulk_read` return values diff --git a/tests/test_adb_device_async.py b/tests/test_adb_device_async.py index 2deabcc..1a95337 100644 --- a/tests/test_adb_device_async.py +++ b/tests/test_adb_device_async.py @@ -533,11 +533,11 @@ async def test_root(self): # ======================================================================= # # # - # `exec` test # + # `exec_out` test # # # # ======================================================================= # @awaiter - async def test_exec(self): + async def test_exec_out(self): self.assertTrue(await self.device.connect()) # Provide the `bulk_read` return values