Skip to content

Commit

Permalink
Added temporary fix for upgraded hwi version. Should be fixed in #1693
Browse files Browse the repository at this point in the history
  • Loading branch information
relativisticelectron committed May 6, 2022
1 parent 675ee33 commit 535100b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/test_hwibridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ def test_calling_method_with_non_existing_parameters(client):
"forwarded_request": True,
},
)
assert {
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "Internal error: enumerate() got an unexpected keyword argument 'non_existing_parameter'.",
},
"id": 1,
} == json.loads(req.data)
assert { #TODO This is a temporary fix that should be handled in https://github.com/cryptoadvance/specter-desktop/pull/1693
'error': {
'code': -32000,
'message': "Internal error: HWIBridge.enumerate() got an unexpected keyword argument 'non_existing_parameter'."
},
'id': 1,
'jsonrpc': '2.0'
} == json.loads(req.data)


def test_call_not_connected_device(client):
Expand Down

0 comments on commit 535100b

Please sign in to comment.