aries_cloudagent.messaging.discovery.messages.tests package

Submodules

aries_cloudagent.messaging.discovery.messages.tests.test_disclose module

class aries_cloudagent.messaging.discovery.messages.tests.test_disclose.TestDisclose(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_deserialize(mock_disclose_schema_load)[source]
test_init()[source]
test_protocols = [{'pid': 'did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/basicmessage/1.0/message', 'roles': []}]
test_serialize(mock_disclose_schema_dump)[source]
test_type()[source]
class aries_cloudagent.messaging.discovery.messages.tests.test_disclose.TestDiscloseSchema(methodName='runTest')[source]

Bases: unittest.case.TestCase

disclose = <Disclose(_message_id='e54c1f88-faf4-40cc-a2db-8306aec89172', _message_new_id=True, _message_decorators=<DecoratorSet{}>, protocols=[])>
test_make_model()[source]

aries_cloudagent.messaging.discovery.messages.tests.test_query module

class aries_cloudagent.messaging.discovery.messages.tests.test_query.TestQuery(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_comment = 'comment'
test_deserialize(mock_query_schema_load)[source]
test_init()[source]
test_query = '*'
test_serialize(mock_query_schema_dump)[source]
test_type()[source]
class aries_cloudagent.messaging.discovery.messages.tests.test_query.TestQuerySchema(methodName='runTest')[source]

Bases: unittest.case.TestCase

query = <Query(_message_id='80614ff8-716d-4394-8447-717eb051035b', _message_new_id=True, _message_decorators=<DecoratorSet{}>, query='*', comment='comment')>
test_make_model()[source]