mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-01 20:08:26 +00:00
fix misc
This commit is contained in:
parent
c1a2ea8fe0
commit
9927f74338
@ -17,16 +17,16 @@
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from trezorlib import misc
|
from trezorlib import misc
|
||||||
from trezorlib.debuglink import TrezorClientDebugLink as Client
|
from trezorlib.debuglink import SessionDebugWrapper as Session
|
||||||
|
|
||||||
from ...common import MNEMONIC12
|
from ...common import MNEMONIC12
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.setup_client(mnemonic=MNEMONIC12)
|
@pytest.mark.setup_client(mnemonic=MNEMONIC12)
|
||||||
@pytest.mark.models("core")
|
@pytest.mark.models("core")
|
||||||
def test_encrypt(client: Client):
|
def test_encrypt(session: Session):
|
||||||
misc.encrypt_keyvalue(
|
misc.encrypt_keyvalue(
|
||||||
client,
|
session,
|
||||||
[],
|
[],
|
||||||
"Enable labeling?",
|
"Enable labeling?",
|
||||||
b"",
|
b"",
|
||||||
|
Loading…
Reference in New Issue
Block a user