Removes revocation test assertions.

v7.3.x^2
Kieran Prasch 2024-05-01 15:50:36 +02:00 committed by derekpierre
parent 7b91614cfb
commit b848282a03
No known key found for this signature in database
1 changed files with 0 additions and 11 deletions

View File

@ -96,17 +96,6 @@ def test_bob_retrieves(alice, ursulas):
# Indeed, they're the same cleartexts.
assert delivered_cleartexts == cleartexts_delivered_a_second_time
# Let's try retrieve again, but Alice revoked the policy.
receipt, failed_revocations = alice.revoke(policy)
assert len(failed_revocations) == 0
# One thing to note here is that Bob *can* still retrieve with the cached CFrags,
# even though this Policy has been revoked. #892
_cleartexts = bob.retrieve_and_decrypt([message_kit],
alice_verifying_key=alices_verifying_key,
encrypted_treasure_map=policy.treasure_map)
assert _cleartexts == delivered_cleartexts # TODO: 892
bob.disenchant()