mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-08 05:32:39 +00:00
test: allow dumping protocol packets via -vvv
[no changelog]
This commit is contained in:
parent
64d8c18865
commit
9d1d06218c
@ -467,9 +467,10 @@ def pytest_configure(config: "Config") -> None:
|
||||
for line in f:
|
||||
config.addinivalue_line("markers", line.strip())
|
||||
|
||||
# enable debug
|
||||
if config.getoption("verbose"):
|
||||
log.enable_debug_output()
|
||||
# enable debug if `-v` flag is passed (use multiple times for higher verbosity)
|
||||
verbosity = config.getoption("verbose")
|
||||
if verbosity:
|
||||
log.enable_debug_output(verbosity)
|
||||
|
||||
idval_orig = IdMaker._idval_from_value
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user