Skip to content

Commit

Permalink
ci: Add unit test for DIDComm V2 Trust Ping
Browse files Browse the repository at this point in the history
The tests here are *very* hacky, but it's a test and it works. Future
tests should be boiled down to the bare-minimum later, and I'm sure that
there's more elegant ways to do things here. I was just trying to get
*something* that works because something is better than nothing.

Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>
  • Loading branch information
TheTechmage committed Jan 9, 2025
1 parent d263d84 commit 81dc3c3
Show file tree
Hide file tree
Showing 8 changed files with 84 additions and 318 deletions.
Empty file.
92 changes: 0 additions & 92 deletions acapy_agent/protocols_v2/basicmessage/v1_0/tests/test_routes.py

This file was deleted.

Empty file.
92 changes: 0 additions & 92 deletions acapy_agent/protocols_v2/discovery/v1_0/tests/test_routes.py

This file was deleted.

Empty file.
92 changes: 0 additions & 92 deletions acapy_agent/protocols_v2/empty/v1_0/tests/test_routes.py

This file was deleted.

2 changes: 1 addition & 1 deletion acapy_agent/protocols_v2/trustping/v1_0/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ async def get_target(request: web.BaseRequest, to_did: str, from_did: str):
context: AdminRequestContext = request["context"]

try:
async with context.profile.session() as session:
async with context.session() as session:
resolver = session.inject(DMPResolver)
await resolver.resolve(to_did)
except Exception as err:
Expand Down
Loading

0 comments on commit 81dc3c3

Please sign in to comment.