Skip to content

Commit

Permalink
Mock that encryption is authorized for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed Sep 18, 2023
1 parent 1d7f16a commit 65a8988
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ def dkg_setup(
coordinator_agent.get_ritual_status.return_value = (
CoordinatorAgent.Ritual.Status.FINALIZED
)
coordinator_agent.is_encryption_authorized.return_value = True

return ritual_id, public_key, cohort, threshold

Expand Down

0 comments on commit 65a8988

Please sign in to comment.