mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-06 14:52:33 +00:00
fix(tests): do not set language in _raw_client
it gets wiped anyway
This commit is contained in:
parent
6568f6a150
commit
4e8fb737d8
@ -144,13 +144,6 @@ def _raw_client(request: pytest.FixtureRequest) -> Client:
|
|||||||
else:
|
else:
|
||||||
client = _find_client(request, interact)
|
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
|
return client
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user