Skip to content

Commit

Permalink
ci: Fix broken tests
Browse files Browse the repository at this point in the history
Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>
  • Loading branch information
TheTechmage committed Jan 3, 2025
1 parent 5d2c03b commit d263d84
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions acapy_agent/core/tests/test_plugin_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from ..goal_code_registry import GoalCodeRegistry
from ..plugin_registry import PluginRegistry
from ..protocol_registry import ProtocolRegistry
from ...didcomm_v2.protocol_registry import V2ProtocolRegistry


class TestPluginRegistry(IsolatedAsyncioTestCase):
Expand All @@ -27,6 +28,7 @@ def setUp(self):
register_controllers=mock.MagicMock(),
)
self.context.injector.bind_instance(ProtocolRegistry, self.proto_registry)
self.context.injector.bind_instance(V2ProtocolRegistry, V2ProtocolRegistry())
self.context.injector.bind_instance(GoalCodeRegistry, self.goal_code_registry)

async def test_setup(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

class basic_message:
"""Basic Message 2.0 DIDComm V2 Protocol."""

async def __call__(self, *args, **kwargs):
"""Call the Handler."""
await self.handle(*args, **kwargs)
Expand Down
1 change: 1 addition & 0 deletions acapy_agent/protocols_v2/discovery/v1_0/message_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

class discover_features:
"""Discover Features 2.0 DIDComm V2 Protocol."""

async def __call__(self, *args, **kwargs):
"""Call the Handler."""
await self.handle(*args, **kwargs)
Expand Down
1 change: 1 addition & 0 deletions acapy_agent/protocols_v2/empty/v1_0/message_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

class basic_message:
"""Empty 1.0 DIDComm V2 Protocol."""

async def __call__(self, *args, **kwargs):
"""Call the Handler."""
await self.handle(*args, **kwargs)
Expand Down
1 change: 1 addition & 0 deletions acapy_agent/protocols_v2/trustping/v1_0/message_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

class trust_ping:
"""Trust Ping 2.0 DIDComm V2 Protocol."""

async def __call__(self, *args, **kwargs):
"""Call the Handler."""
await self.handle(*args, **kwargs)
Expand Down

0 comments on commit d263d84

Please sign in to comment.