1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

tests/device: remove test_expected_responses

This commit is contained in:
Tomas Susanka 2020-01-31 20:55:42 +00:00 committed by Pavol Rusnak
parent 49727740bc
commit 5717e647ed
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -31,15 +31,6 @@ class TestProtectCall:
res = btc.get_address(client, "Testnet", [0])
assert res == "mndoQDWatQhfeQbprzZxD43mZ75Z94D6vz"
@pytest.mark.setup_client(pin="1234", passphrase=True)
def test_expected_responses(self, client):
with client:
# Scenario 4 - Received what expected
client.set_expected_responses(
[proto.PinMatrixRequest(), proto.PassphraseRequest(), proto.Address()]
)
self._some_protected_call(client)
def test_no_protection(self, client):
with client:
assert client.debug.read_pin()[0] is None