mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-17 01:52:02 +00:00
tests: fix warnings in test_msg_resetdevice_nobackup.py
This commit is contained in:
parent
b4c5b996a1
commit
0f62c817d5
@ -14,8 +14,6 @@
|
|||||||
# You should have received a copy of the License along with this library.
|
# You should have received a copy of the License along with this library.
|
||||||
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
|
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
|
||||||
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from trezorlib import messages as proto
|
from trezorlib import messages as proto
|
||||||
|
|
||||||
from .common import TrezorTest
|
from .common import TrezorTest
|
||||||
@ -41,7 +39,6 @@ class TestMsgResetDeviceNobackup(TrezorTest):
|
|||||||
|
|
||||||
# Provide entropy
|
# Provide entropy
|
||||||
assert isinstance(ret, proto.EntropyRequest)
|
assert isinstance(ret, proto.EntropyRequest)
|
||||||
internal_entropy = self.client.debug.read_reset_entropy()
|
|
||||||
ret = self.client.call_raw(proto.EntropyAck(entropy=external_entropy))
|
ret = self.client.call_raw(proto.EntropyAck(entropy=external_entropy))
|
||||||
assert isinstance(ret, proto.Success)
|
assert isinstance(ret, proto.Success)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user