1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-15 00:52:02 +00:00

python and tests: typos

This commit is contained in:
Tomas Susanka 2019-11-13 13:28:07 +00:00
parent b12ed82586
commit 90edad55fc
2 changed files with 2 additions and 2 deletions

View File

@ -414,7 +414,7 @@ def set_u2f_counter(connect, counter):
@cli.command(help="Get U2F counter.")
@click.pass_obj
def get_u2f_counter(connect):
def get_next_u2f_counter(connect):
return device.get_next_u2f_counter(connect())

View File

@ -17,7 +17,7 @@
from trezorlib import device
def test_set_u2f_counter(client):
def test_u2f_counter(client):
assert device.get_next_u2f_counter(client) == 0
assert device.get_next_u2f_counter(client) == 1
device.set_u2f_counter(client, 111111)