From 45d377f5b860d5633a2419de7b11f42065d61aa2 Mon Sep 17 00:00:00 2001 From: matejcik Date: Fri, 30 Jul 2021 13:57:43 +0200 Subject: [PATCH] chore(tests): drop unused debug pieces --- .../test_msg_recoverydevice_bip39.py | 4 --- tests/device_tests/test_msg_signidentity.py | 26 ------------------- 2 files changed, 30 deletions(-) diff --git a/tests/device_tests/test_msg_recoverydevice_bip39.py b/tests/device_tests/test_msg_recoverydevice_bip39.py index 92bfdd24ca..00fc978adb 100644 --- a/tests/device_tests/test_msg_recoverydevice_bip39.py +++ b/tests/device_tests/test_msg_recoverydevice_bip39.py @@ -68,8 +68,6 @@ class TestMsgRecoverydevice: ret = client.call_raw(proto.WordAck(word=word)) fakes += 1 - print(mnemonic) - # Workflow succesfully ended assert isinstance(ret, proto.Success) @@ -120,8 +118,6 @@ class TestMsgRecoverydevice: ret = client.call_raw(proto.WordAck(word=word)) fakes += 1 - print(mnemonic) - # Workflow succesfully ended assert isinstance(ret, proto.Success) diff --git a/tests/device_tests/test_msg_signidentity.py b/tests/device_tests/test_msg_signidentity.py index 320d1de6d4..bb99f2aa93 100644 --- a/tests/device_tests/test_msg_signidentity.py +++ b/tests/device_tests/test_msg_signidentity.py @@ -14,39 +14,13 @@ # You should have received a copy of the License along with this library. # If not, see . -import struct - import pytest from trezorlib import messages as proto, misc -from trezorlib.tools import H_ from ..common import MNEMONIC12 -def check_path(identity): - from hashlib import sha256 - - m = sha256() - m.update(struct.pack("