mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-24 12:05:44 +00:00
stellar/tests: some device tests set show_display=True
This commit is contained in:
parent
068e7b1574
commit
e5cdf45956
@ -47,7 +47,7 @@ class TestMsgStellarGetAddress(TrezorTest):
|
||||
address = self.client.stellar_get_address(parse_path(stellar.DEFAULT_BIP32_PATH))
|
||||
assert address == 'GDRXE2BQUC3AZNPVFSCEZ76NJ3WWL25FYFK6RGZGIEKWE4SOOHSUJUJ6'
|
||||
|
||||
address = self.client.stellar_get_address(parse_path("m/44h/148h/1h"))
|
||||
address = self.client.stellar_get_address(parse_path("m/44h/148h/1h"), show_display=True)
|
||||
assert address == 'GBAW5XGWORWVFE2XTJYDTLDHXTY2Q2MO73HYCGB3XMFMQ562Q2W2GJQX'
|
||||
|
||||
def test_stellar_get_address_get_pubkey(self):
|
||||
|
@ -33,7 +33,7 @@ class TestMsgStellarGetPublicKey(TrezorTest):
|
||||
self.setup_mnemonic_nopin_nopassphrase()
|
||||
|
||||
# GAK5MSF74TJW6GLM7NLTL76YZJKM2S4CGP3UH4REJHPHZ4YBZW2GSBPW
|
||||
response = self.client.stellar_get_public_key(parse_path(stellar.DEFAULT_BIP32_PATH))
|
||||
response = self.client.stellar_get_public_key(parse_path(stellar.DEFAULT_BIP32_PATH), show_display=True)
|
||||
assert hexlify(response) == b'15d648bfe4d36f196cfb5735ffd8ca54cd4b8233f743f22449de7cf301cdb469'
|
||||
assert stellar.address_from_public_key(response) == 'GAK5MSF74TJW6GLM7NLTL76YZJKM2S4CGP3UH4REJHPHZ4YBZW2GSBPW'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user