From 8d9b95ef416dc5baecfe5ba5aa6efad65e3d26a3 Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Tue, 26 Mar 2024 12:31:28 +0100 Subject: [PATCH] Fix style issue --- core/src/trezor/wire/thp/channel_context.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/trezor/wire/thp/channel_context.py b/core/src/trezor/wire/thp/channel_context.py index 6d909a438..7bfb0174b 100644 --- a/core/src/trezor/wire/thp/channel_context.py +++ b/core/src/trezor/wire/thp/channel_context.py @@ -307,8 +307,7 @@ def _decode_iface(cached_iface: bytes) -> WireInterface: raise RuntimeError("There is no valid USB WireInterface") return iface if __debug__ and cached_iface == _MOCK_INTERFACE_HID: - # TODO"Not implemented, should return MockHID WireInterface - return None + raise NotImplementedError("Should return MockHID WireInterface") # TODO implement bluetooth interface raise Exception("Unknown WireInterface")