mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-15 15:46:06 +00:00
fix typos in test names
This commit is contained in:
parent
f20fd0d8cf
commit
8a37c28ed6
@ -23,7 +23,7 @@ import hashlib
|
||||
from trezorlib import ed25519raw, ed25519cosi
|
||||
|
||||
|
||||
class TestDeviceCosi(common.TrezorTest):
|
||||
class TestCosi(common.TrezorTest):
|
||||
|
||||
def test_cosi_commit(self):
|
||||
self.setup_mnemonic_pin_passphrase()
|
||||
|
@ -22,7 +22,7 @@ from . import common
|
||||
from trezorlib import messages as proto
|
||||
|
||||
|
||||
class TestDebugLink(common.TrezorTest):
|
||||
class TestDebuglink(common.TrezorTest):
|
||||
|
||||
def test_layout(self):
|
||||
layout = self.client.debug.read_layout()
|
||||
|
@ -22,7 +22,7 @@ import trezorlib.ckd_public as bip32
|
||||
from trezorlib import messages as proto
|
||||
|
||||
|
||||
class TestMsgGetaddress(common.TrezorTest):
|
||||
class TestMsgGetaddressShow(common.TrezorTest):
|
||||
|
||||
def test_show(self):
|
||||
self.setup_mnemonic_nopin_nopassphrase()
|
||||
|
@ -21,7 +21,7 @@ from . import common
|
||||
import trezorlib.ckd_public as bip32
|
||||
|
||||
|
||||
class TestMsgGetpublic_key(common.TrezorTest):
|
||||
class TestMsgGetpublickey(common.TrezorTest):
|
||||
|
||||
def test_btc(self):
|
||||
self.setup_mnemonic_nopin_nopassphrase()
|
||||
|
@ -22,7 +22,7 @@ from . import common
|
||||
from trezorlib import messages as proto
|
||||
|
||||
|
||||
class TestPing(common.TrezorTest):
|
||||
class TestMsgPing(common.TrezorTest):
|
||||
|
||||
def test_ping(self):
|
||||
self.setup_mnemonic_pin_passphrase()
|
||||
|
@ -24,7 +24,7 @@ from . import common
|
||||
from trezorlib import messages as proto
|
||||
|
||||
|
||||
class TestDeviceRecovery(common.TrezorTest):
|
||||
class TestMsgRecoverydevice(common.TrezorTest):
|
||||
|
||||
def test_pin_passphrase(self):
|
||||
mnemonic = self.mnemonic12.split(' ')
|
||||
|
@ -24,7 +24,7 @@ from . import common
|
||||
from trezorlib import messages as proto
|
||||
|
||||
|
||||
class TestDeviceRecoveryDryRun(common.TrezorTest):
|
||||
class TestMsgRecoverydeviceDryrun(common.TrezorTest):
|
||||
|
||||
def recovery_loop(self, mnemonic, result):
|
||||
ret = self.client.call_raw(proto.RecoveryDevice(word_count=12,
|
||||
|
@ -23,7 +23,7 @@ from trezorlib import messages as proto
|
||||
from mnemonic import Mnemonic
|
||||
|
||||
|
||||
class TestDeviceReset(common.TrezorTest):
|
||||
class TestMsgResetDevice(common.TrezorTest):
|
||||
|
||||
def test_reset_device(self):
|
||||
|
||||
|
@ -23,7 +23,7 @@ from trezorlib import messages as proto
|
||||
from mnemonic import Mnemonic
|
||||
|
||||
|
||||
class TestDeviceResetSkipBackup(common.TrezorTest):
|
||||
class TestMsgResetDeviceSkipbackup(common.TrezorTest):
|
||||
|
||||
def test_reset_device_skip_backup(self):
|
||||
|
||||
|
@ -23,7 +23,7 @@ import binascii
|
||||
from trezorlib import messages as proto
|
||||
|
||||
|
||||
class TestMsgSignmessage(common.TrezorTest):
|
||||
class TestMsgSignmessageSegwit(common.TrezorTest):
|
||||
|
||||
def test_sign(self):
|
||||
self.setup_mnemonic_nopin_nopassphrase()
|
||||
|
@ -23,7 +23,7 @@ import binascii
|
||||
from trezorlib import messages as proto
|
||||
|
||||
|
||||
class TestMsgSignmessage(common.TrezorTest):
|
||||
class TestMsgSignmessageSegwitNative(common.TrezorTest):
|
||||
|
||||
def test_sign(self):
|
||||
self.setup_mnemonic_nopin_nopassphrase()
|
||||
|
@ -27,7 +27,7 @@ from trezorlib.client import CallException
|
||||
TxApiBitcoinCash = TxApiInsight(network='insight_bch', url='https://bch-bitcore2.trezor.io/api/')
|
||||
|
||||
|
||||
class TestMsgSigntxSegwit(common.TrezorTest):
|
||||
class TestMsgSigntxBch(common.TrezorTest):
|
||||
|
||||
def test_send_bch_change(self):
|
||||
self.setup_mnemonic_allallall()
|
||||
|
@ -24,7 +24,7 @@ from trezorlib.tx_api import TxApiTestnet
|
||||
from trezorlib.ckd_public import deserialize
|
||||
|
||||
|
||||
class TestMsgSigntxSegwit(common.TrezorTest):
|
||||
class TestMsgSigntxSegwitNative(common.TrezorTest):
|
||||
|
||||
def test_send_p2sh(self):
|
||||
self.setup_mnemonic_allallall()
|
||||
|
@ -28,7 +28,7 @@ from trezorlib.tx_api import TxApiZcash
|
||||
TXHASH_93373e = binascii.unhexlify('93373e63cc626c4a7d049ad775d6511bb5eba985f142db660c9b9f955c722f5c')
|
||||
|
||||
|
||||
class TestMsgSigntx(common.TrezorTest):
|
||||
class TestMsgSigntxZcash(common.TrezorTest):
|
||||
|
||||
def test_one_one_fee(self):
|
||||
self.setup_mnemonic_allallall()
|
||||
|
@ -22,7 +22,7 @@ import binascii
|
||||
import base64
|
||||
|
||||
|
||||
class TestMsgVerifymessageSegwit(common.TrezorTest):
|
||||
class TestMsgVerifymessageSegwitNative(common.TrezorTest):
|
||||
|
||||
def test_message_long(self):
|
||||
self.setup_mnemonic_nopin_nopassphrase()
|
||||
|
@ -22,7 +22,7 @@ from . import common
|
||||
from trezorlib import messages as proto
|
||||
|
||||
|
||||
class TestDeviceWipe(common.TrezorTest):
|
||||
class TestMsgWipedevice(common.TrezorTest):
|
||||
|
||||
def test_wipe_device(self):
|
||||
self.setup_mnemonic_pin_passphrase()
|
||||
|
@ -31,7 +31,7 @@ TXHASH_d5f65e = binascii.unhexlify('d5f65ee80147b4bcc70b75e4bbf2d7382021b871bd88
|
||||
|
||||
# address_n = [177] < 68
|
||||
# address_n = [16518] < 66
|
||||
class TestZeroSig(common.TrezorTest):
|
||||
class TestZerosig(common.TrezorTest):
|
||||
|
||||
'''
|
||||
def test_mine_zero_signature(self):
|
||||
|
@ -19,7 +19,7 @@
|
||||
from trezorlib import ckd_public
|
||||
|
||||
|
||||
def test_ckd():
|
||||
def test_ckd_public():
|
||||
xpub1 = 'xpub661MyMwAqRbcEnKbXcCqD2GT1di5zQxVqoHPAgHNe8dv5JP8gWmDproS6kFHJnLZd23tWevhdn4urGJ6b264DfTGKr8zjmYDjyDTi9U7iyT'
|
||||
node1 = ckd_public.deserialize(xpub1)
|
||||
node2 = ckd_public.public_ckd(node1, [0])
|
||||
|
@ -24,7 +24,7 @@ from trezorlib.tx_api import TxApiBitcoin, TxApiTestnet
|
||||
tests_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
def test_txapi_gettx():
|
||||
def test_tx_api_gettx():
|
||||
tx_api.cache_dir = os.path.join(tests_dir, '../txcache')
|
||||
|
||||
TxApiBitcoin.get_tx('39a29e954977662ab3879c66fb251ef753e0912223a83d1dcb009111d28265e5')
|
||||
|
Loading…
Reference in New Issue
Block a user