mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
reformated with black
This commit is contained in:
parent
dce60da6ec
commit
03790e992f
@ -209,7 +209,9 @@ class TestMsgTezosSignTx(TrezorTest):
|
||||
"proposal": {
|
||||
"source": "005f450441f41ee11eee78a31d1e1e55627c783bd6",
|
||||
"period": 17,
|
||||
"proposals": ["dfa974df171c2dad9a9b8f25d99af41fd9702ce5d04521d2f9943c84d88aa572"],
|
||||
"proposals": [
|
||||
"dfa974df171c2dad9a9b8f25d99af41fd9702ce5d04521d2f9943c84d88aa572"
|
||||
],
|
||||
},
|
||||
},
|
||||
),
|
||||
@ -239,8 +241,10 @@ class TestMsgTezosSignTx(TrezorTest):
|
||||
"proposal": {
|
||||
"source": "005f450441f41ee11eee78a31d1e1e55627c783bd6",
|
||||
"period": 17,
|
||||
"proposals": ["2a6ff28ab4d0ccb18f7129aaaf9a4b8027d794f2562849665fdb6999db2a4e57",
|
||||
"47cd60c09ab8437cc9fe19add494dce1b9844100f660f02ce77510a0c66d2762"],
|
||||
"proposals": [
|
||||
"2a6ff28ab4d0ccb18f7129aaaf9a4b8027d794f2562849665fdb6999db2a4e57",
|
||||
"47cd60c09ab8437cc9fe19add494dce1b9844100f660f02ce77510a0c66d2762",
|
||||
],
|
||||
},
|
||||
},
|
||||
),
|
||||
@ -257,7 +261,6 @@ class TestMsgTezosSignTx(TrezorTest):
|
||||
resp.operation_hash == "onobSyNgiitGXxSVFJN6949MhUomkkxvH4ZJ2owgWwNeDdntF9Y"
|
||||
)
|
||||
|
||||
|
||||
def test_tezos_sing_tx_ballot_yay(self):
|
||||
self.setup_mnemonic_allallall()
|
||||
|
||||
@ -272,10 +275,10 @@ class TestMsgTezosSignTx(TrezorTest):
|
||||
"source": "0002298c03ed7d454a101eb7022bc95f7e5f41ac78",
|
||||
"period": 2,
|
||||
"proposal": "def7ed9c84af23ab37ebb60dd83cd103d1272ad6c63d4c05931567e65ed027e3",
|
||||
"ballot": 0
|
||||
"ballot": 0,
|
||||
},
|
||||
}
|
||||
)
|
||||
},
|
||||
),
|
||||
)
|
||||
|
||||
assert (
|
||||
@ -297,10 +300,10 @@ class TestMsgTezosSignTx(TrezorTest):
|
||||
"source": "0002298c03ed7d454a101eb7022bc95f7e5f41ac78",
|
||||
"period": 2,
|
||||
"proposal": "def7ed9c84af23ab37ebb60dd83cd103d1272ad6c63d4c05931567e65ed027e3",
|
||||
"ballot": 1
|
||||
"ballot": 1,
|
||||
},
|
||||
}
|
||||
)
|
||||
},
|
||||
),
|
||||
)
|
||||
assert (
|
||||
resp.signature
|
||||
@ -321,14 +324,13 @@ class TestMsgTezosSignTx(TrezorTest):
|
||||
"source": "0002298c03ed7d454a101eb7022bc95f7e5f41ac78",
|
||||
"period": 2,
|
||||
"proposal": "def7ed9c84af23ab37ebb60dd83cd103d1272ad6c63d4c05931567e65ed027e3",
|
||||
"ballot": 2
|
||||
"ballot": 2,
|
||||
},
|
||||
}
|
||||
)
|
||||
},
|
||||
),
|
||||
)
|
||||
|
||||
assert (
|
||||
resp.signature
|
||||
== "edsigu6YX7EegPwrpcEbdNQsNhrRiEagBNGJBmFamP4mixZZw1UynhahGQ8RNiZLSUVLERUZwygrsSVenBqXGt9VnknTxtzjKzv"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user