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")