1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-01 20:08:26 +00:00

test: fix conftest setting of language

[no changelog]
This commit is contained in:
M1nd3r 2024-11-26 16:21:14 +01:00
parent a6568fc6ad
commit 2e4776e888

View File

@ -337,7 +337,9 @@ def client(
if _raw_client.model is not models.T1B1:
lang = request.session.config.getoption("lang") or "en"
assert isinstance(lang, str)
translations.set_language(_raw_client, lang)
translations.set_language(
SessionDebugWrapper(_raw_client.get_management_session()), lang
)
setup_params = dict(
uninitialized=False,