Skip to content

Commit

Permalink
🎨 Filter Aries RFC 0160 DeprecationWarning in tests
Browse files Browse the repository at this point in the history
Signed-off-by: ff137 <ff137@proton.me>
  • Loading branch information
ff137 committed Nov 14, 2024
1 parent 573c208 commit 70364a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions acapy_agent/core/tests/test_conductor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,7 @@ async def test_dispatch_complete_fatal_x(self):
conductor.dispatch_complete(message, mock_task)
mock_notify.assert_called_once_with()

@pytest.mark.filterwarnings("ignore:Aries RFC 0160.*:DeprecationWarning")
async def test_print_invite_connection(self):
builder: ContextBuilder = StubContextBuilder(self.test_settings)
builder.update_settings(
Expand Down
3 changes: 3 additions & 0 deletions acapy_agent/protocols/connections/v1_0/tests/test_manager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from unittest import IsolatedAsyncioTestCase

import pytest

from .....cache.base import BaseCache
from .....cache.in_memory import InMemoryCache
from .....connections.models.conn_record import ConnRecord
Expand Down Expand Up @@ -29,6 +31,7 @@
from ..models.connection_detail import ConnectionDetail


@pytest.mark.filterwarnings("ignore:Aries RFC 0160.*:DeprecationWarning")
class TestConnectionManager(IsolatedAsyncioTestCase):
def make_did_doc(self, did, verkey):
doc = DIDDoc(did=did)
Expand Down

0 comments on commit 70364a4

Please sign in to comment.