aries_cloudagent.messaging.connections.messages.tests package

Submodules

aries_cloudagent.messaging.connections.messages.tests.test_connection_invitation module

class aries_cloudagent.messaging.connections.messages.tests.test_connection_invitation.TestConnectionInvitation(methodName='runTest')[source]

Bases: unittest.case.TestCase

did = 'did:sov:QmWbsNYhMrjHiqZDTUTEJs'
endpoint_did = 'did:sov:A2wBhNYhMrjHiqZDTUYH7u'
endpoint_url = 'https://example.com/endpoint'
image_url = 'https://example.com/image.jpg'
key = '8HH5gYEeNc3z7PYXmd54d4x6qAfCNrqQqEB3nS7Zfu7K'
label = 'Label'
test_deserialize(mock_connection_invitation_schema_load)[source]
test_init()[source]
test_serialize(mock_connection_invitation_schema_dump)[source]
test_type()[source]
test_url_round_trip()[source]
class aries_cloudagent.messaging.connections.messages.tests.test_connection_invitation.TestConnectionInvitationSchema(methodName='runTest')[source]

Bases: unittest.case.TestCase

connection_invitation = <ConnectionInvitation(_message_id='4bc18d4e-3f3d-429f-95d9-0bdfb7f6fde6', _message_new_id=True, _message_decorators=<DecoratorSet{}>, label='label', did='did:sov:QmWbsNYhMrjHiqZDTUTEJs', recipient_keys=None, endpoint=None, routing_keys=None)>
test_make_model()[source]

aries_cloudagent.messaging.connections.messages.tests.test_connection_request module

class aries_cloudagent.messaging.connections.messages.tests.test_connection_request.TestConfig[source]

Bases: object

make_did_doc()[source]
test_did = '55GkHamhTU1ZbTbV2ab9DE'
test_endpoint = 'http://localhost'
test_label = 'Label'
test_seed = 'testseed000000000000000000000001'
test_verkey = '3Dn1SJNPaCXcvvJvSbsFWP2xaCjMom3can8CQNhWrTRx'
class aries_cloudagent.messaging.connections.messages.tests.test_connection_request.TestConnectionRequest(methodName='runTest')[source]

Bases: unittest.case.TestCase, aries_cloudagent.messaging.connections.messages.tests.test_connection_request.TestConfig

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_deserialize(mock_connection_request_schema_load)[source]

Test deserialization.

test_init()[source]

Test initialization.

test_serialize(mock_connection_request_schema_dump)[source]

Test serialization.

test_type()[source]

Test type.

class aries_cloudagent.messaging.connections.messages.tests.test_connection_request.TestConnectionRequestSchema(*args, **kwargs)[source]

Bases: sphinx.ext.autodoc.importer._MockObject, aries_cloudagent.messaging.connections.messages.tests.test_connection_request.TestConfig

Test connection request schema.

test_make_model()[source]

aries_cloudagent.messaging.connections.messages.tests.test_connection_response module

class aries_cloudagent.messaging.connections.messages.tests.test_connection_response.TestConfig[source]

Bases: object

make_did_doc()[source]
test_did = '55GkHamhTU1ZbTbV2ab9DE'
test_endpoint = 'http://localhost'
test_seed = 'testseed000000000000000000000001'
test_verkey = '3Dn1SJNPaCXcvvJvSbsFWP2xaCjMom3can8CQNhWrTRx'
class aries_cloudagent.messaging.connections.messages.tests.test_connection_response.TestConnectionResponse(methodName='runTest')[source]

Bases: unittest.case.TestCase, aries_cloudagent.messaging.connections.messages.tests.test_connection_response.TestConfig

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_deserialize(mock_connection_response_schema_load)[source]

Test deserialization.

test_init()[source]
test_serialize(mock_connection_response_schema_dump)[source]

Test serialization.

test_type()[source]
class aries_cloudagent.messaging.connections.messages.tests.test_connection_response.TestConnectionResponseSchema(*args, **kwargs)[source]

Bases: sphinx.ext.autodoc.importer._MockObject, aries_cloudagent.messaging.connections.messages.tests.test_connection_response.TestConfig

test_make_model()[source]