1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

fix(tests): do not set language in _raw_client

it gets wiped anyway
This commit is contained in:
matejcik 2024-04-05 16:21:22 +02:00 committed by M1nd3r
parent 6568f6a150
commit 4e8fb737d8

View File

@ -144,13 +144,6 @@ def _raw_client(request: pytest.FixtureRequest) -> Client:
else:
client = _find_client(request, interact)
# Setting the appropriate language
# Not doing it for T1
if client.model is not models.T1B1:
lang = request.session.config.getoption("lang") or "en"
assert isinstance(lang, str)
translations.set_language(client, lang)
return client