Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix perspectives requests for multiple keys for the same server #11440

Merged
merged 4 commits into from
Nov 29, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/crypto/test_keyring.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,9 @@ async def post_json(destination, path, data, **kwargs):
self.assertEqual(k.verify_key.alg, "ed25519")
self.assertEqual(k.verify_key.version, "ver2")

# finally, ensured that only one request was sent
richvdh marked this conversation as resolved.
Show resolved Hide resolved
self.assertEqual(self.http_client.post_json.call_count, 1)

def test_get_perspectives_own_key(self):
"""Check that we can get the perspectives server's own keys

Expand Down