aries_cloudagent.messaging.actionmenu.messages.tests package

Submodules

aries_cloudagent.messaging.actionmenu.messages.tests.perform_test module

class aries_cloudagent.messaging.actionmenu.messages.tests.perform_test.TestPerform(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

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

test_deserialize(mock_perform_schema_load)[source]

Test deserialization.

test_init()[source]

Test initialization.

test_make_model()[source]
test_name = 'option_name'
test_params = {'a': 'aaa'}
test_serialize(mock_perform_schema_dump)[source]

Test serialization.

test_type()[source]

Test type.

aries_cloudagent.messaging.actionmenu.messages.tests.test_menu module

class aries_cloudagent.messaging.actionmenu.messages.tests.test_menu.TestConfig[source]

Bases: object

test_menu_message = {'description': 'IIWBook facilitates connections between attendees by verifying attendance and distributing connection invitations.', 'options': [<MenuOption(name='search-introductions', title='Search introductions', description='Your email address must be verified to perform a search', disabled=True, form=<MenuForm(title='Search introductions', description='Enter a participant name below to perform a search.', params=[<MenuFormParam(name='query', title='Participant name', default='', description='', input_type='text', required=True)>], submit_label='Search')>)>], 'title': 'Welcome to IIWBook'}
class aries_cloudagent.messaging.actionmenu.messages.tests.test_menu.TestMenu(methodName='runTest')[source]

Bases: unittest.case.TestCase, aries_cloudagent.messaging.actionmenu.messages.tests.test_menu.TestConfig

setUp()[source]

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

test_deserialize(mock_menu_schema_load)[source]

Test deserialization.

test_init()[source]

Test initialization.

test_make_model()[source]
test_serialize(mock_menu_schema_dump)[source]

Test serialization.

test_type()[source]

Test type.

aries_cloudagent.messaging.actionmenu.messages.tests.test_menu_request module

class aries_cloudagent.messaging.actionmenu.messages.tests.test_menu_request.TestMenuRequest(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

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

test_deserialize(mock_menu_request_schema_load)[source]

Test deserialization.

test_init()[source]

Test initialization.

test_make_model()[source]
test_serialize(mock_menu_request_schema_dump)[source]

Test serialization.

test_type()[source]

Test type.