chore(python): decrease `EMULATOR_WAIT_TIME` to 30s
What changed, and why it matters
This commit simply shortens how long the Python test library waits for a Trezor emulator to start up, from 60 seconds to 30 seconds. It is a test/development tooling change with no user-facing or security-relevant behavior.
No security action needed. Treat as a routine developer-experience/test-harness tuning change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change modifies EMULATOR_WAIT_TIME in python/src/trezorlib/_internal/emulator.py from 60 to 30 seconds. This constant governs the polling timeout used by internal test harnesses when launching the Trezor emulator binary. It does not alter firmware, device communication, cryptography, authentication, or any runtime security boundary.
Changed components
python/src/trezorlib/_internal/emulator.pyInspect captured patch +1 / −1
diff --git a/python/src/trezorlib/_internal/emulator.py b/python/src/trezorlib/_internal/emulator.py
index 7dcd0611..4b334b73 100644
--- a/python/src/trezorlib/_internal/emulator.py
+++ b/python/src/trezorlib/_internal/emulator.py
@@ -32,7 +32,7 @@ from ..transport.udp import UdpTransport
LOG = logging.getLogger(__name__)
TROPIC_MODEL_WAIT_TIME = 10
-EMULATOR_WAIT_TIME = 60
+EMULATOR_WAIT_TIME = 30
_RUNNING_PIDS = set()
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.