Skip to content

Commit ff88d98

Browse files
committed
fix tests
1 parent 0b61c55 commit ff88d98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_tooling.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_adb_reboot_success(fp):
2424

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

4343
with fp.context() as nested_process:
4444
nested_process.register(
45-
["test/path/to/tools/adb", "reboot"],
45+
["test/path/to/tools/adb", "-d", "reboot"],
4646
stdout=[
4747
bytes("error: no devices/emulators found", encoding="utf-8"),
4848
],

0 commit comments

Comments
 (0)