Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tsterbak committed Mar 24, 2024
1 parent 0b61c55 commit ff88d98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_tooling.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_adb_reboot_success(fp):

with fp.context() as nested_process:
nested_process.register(
["test/path/to/tools/adb", "reboot"], stdout=bytes.fromhex("00")
["test/path/to/tools/adb", "-d", "reboot"], stdout=bytes.fromhex("00")
)
for line in adb_reboot(bin_path=Path("test/path/to/tools")):
print(line)
Expand All @@ -42,7 +42,7 @@ def callback_function_with_kwargs(process, return_code):

with fp.context() as nested_process:
nested_process.register(
["test/path/to/tools/adb", "reboot"],
["test/path/to/tools/adb", "-d", "reboot"],
stdout=[
bytes("error: no devices/emulators found", encoding="utf-8"),
],
Expand Down

0 comments on commit ff88d98

Please sign in to comment.