Skip to content

Commit 70364a4

Browse files
committed
🎨 Filter Aries RFC 0160 DeprecationWarning in tests
Signed-off-by: ff137 <[email protected]>
1 parent 573c208 commit 70364a4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

acapy_agent/core/tests/test_conductor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,6 +1186,7 @@ async def test_dispatch_complete_fatal_x(self):
11861186
conductor.dispatch_complete(message, mock_task)
11871187
mock_notify.assert_called_once_with()
11881188

1189+
@pytest.mark.filterwarnings("ignore:Aries RFC 0160.*:DeprecationWarning")
11891190
async def test_print_invite_connection(self):
11901191
builder: ContextBuilder = StubContextBuilder(self.test_settings)
11911192
builder.update_settings(

acapy_agent/protocols/connections/v1_0/tests/test_manager.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
from unittest import IsolatedAsyncioTestCase
22

3+
import pytest
4+
35
from .....cache.base import BaseCache
46
from .....cache.in_memory import InMemoryCache
57
from .....connections.models.conn_record import ConnRecord
@@ -29,6 +31,7 @@
2931
from ..models.connection_detail import ConnectionDetail
3032

3133

34+
@pytest.mark.filterwarnings("ignore:Aries RFC 0160.*:DeprecationWarning")
3235
class TestConnectionManager(IsolatedAsyncioTestCase):
3336
def make_did_doc(self, did, verkey):
3437
doc = DIDDoc(did=did)

0 commit comments

Comments
 (0)