Skip to content

Commit

Permalink
Remove revocation notification test
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale committed Nov 6, 2024
1 parent 1a8501e commit 55ca917
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions scenarios/examples/anoncreds_issuance_and_revocation/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ async def main():
alice_conn.connection_id,
indy_conn.connection_id,
cred_def.credential_definition_state["credential_definition_id"],
{"firstname": "Old", "lastname": "Builder"},
{"firstname": "Indy", "lastname": "Builder"},
)

# Present the the credential's attributes
Expand All @@ -510,21 +510,6 @@ async def main():
for _, pres in enumerate(presentations.results):
print(summary(pres))

# Revoke credential
await alice.post(
url="/anoncreds/revocation/revoke",
json={
"connection_id": alice_conn.connection_id,
"rev_reg_id": alice_cred_ex.anoncreds.rev_reg_id,
"cred_rev_id": alice_cred_ex.anoncreds.cred_rev_id,
"publish": True,
"notify": True,
"notify_version": "v1_0",
},
)

await indy.record(topic="revocation-notification")


if __name__ == "__main__":
logging_to_stdout()
Expand Down

0 comments on commit 55ca917

Please sign in to comment.