Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
ci: Fix tests for ACA-Py 0.7.3
Browse files Browse the repository at this point in the history
Signed-off-by: Colton Wolkins (Indicio work address) <colton@indicio.tech>
  • Loading branch information
TheTechmage committed Dec 15, 2021
1 parent e2fd886 commit 74ae4ef
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
9 changes: 8 additions & 1 deletion tests/holder/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,14 @@ async def test_pres_req_received_sent_on_state(profile, mock_send_to_admins):
state = V10PresentationExchange.STATE_REQUEST_RECEIVED
message = test_module.PresRequestReceived
event = Event(
"anything", {"state": state, "presentation_request": {"pres_request": "test"}}
"anything",
{
"state": state,
"presentation_request": {
"requested_attributes": {},
"requested_predicates": {},
},
},
)
with mock.patch.object(
message, "retrieve_matching_credentials", mock.CoroutineMock()
Expand Down
6 changes: 5 additions & 1 deletion tests/issuer/test_request_pres.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
def message():
"""Message fixture."""
yield RequestPres(
connection_id=TEST_CONN_ID, proof_request=IndyProofRequest(), comment="comment"
connection_id=TEST_CONN_ID,
proof_request=IndyProofRequest(
requested_attributes={}, requested_predicates={}
),
comment="comment",
)


Expand Down

0 comments on commit 74ae4ef

Please sign in to comment.