Skip to content

Commit

Permalink
fix: remove out of spec attr for invitation message tests
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <[email protected]>
  • Loading branch information
dbluhm committed Apr 4, 2024
1 parent 5228382 commit a2b69be
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ async def test_create_request_mediation_id(self):
await mediation_record.save(session)

invi = InvitationMessage(
comment="test",
handshake_protocols=[
pfx.qualify(HSProto.RFC23.name) for pfx in DIDCommPrefix
],
Expand Down Expand Up @@ -1487,7 +1486,6 @@ async def test_create_response_mediation_id(self):
await mediation_record.save(session)

invi = InvitationMessage(
comment="test",
handshake_protocols=[
pfx.qualify(HSProto.RFC23.name) for pfx in DIDCommPrefix
],
Expand Down Expand Up @@ -1540,7 +1538,6 @@ async def test_create_response_mediation_id_invalid_conn_state(self):
await mediation_record.save(session)

invi = InvitationMessage(
comment="test",
handshake_protocols=[
pfx.qualify(HSProto.RFC23.name) for pfx in DIDCommPrefix
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class TestInvitationMessage(TestCase):
def test_init(self):
"""Test initialization message."""
invi_msg = InvitationMessage(
comment="Hello",
label="A label",
handshake_protocols=[DIDCommPrefix.qualify_current(DIDEX_1_1)],
services=[TEST_DID],
Expand All @@ -51,7 +50,6 @@ def test_init(self):

service = Service(_id="#inline", _type=DID_COMM, did=TEST_DID)
invi_msg = InvitationMessage(
comment="Hello",
label="A label",
handshake_protocols=[DIDCommPrefix.qualify_current(DIDEX_1_1)],
services=[service],
Expand Down Expand Up @@ -112,7 +110,6 @@ def test_url_round_trip(self):
service_endpoint="http://1.2.3.4:8080/service",
)
invi_msg = InvitationMessage(
comment="Hello",
label="A label",
handshake_protocols=[DIDCommPrefix.qualify_current(DIDEX_1_1)],
services=[service],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class TestInvitationRecordSchema(IsolatedAsyncioTestCase):
def test_make_record(self):
"""Test making record."""
invi = InvitationMessage(
comment="Hello",
label="A label",
handshake_protocols=[DIDCommPrefix.qualify_current(DIDEX_1_1)],
services=[TEST_DID],
Expand Down

0 comments on commit a2b69be

Please sign in to comment.