aries_cloudagent.tests package

Submodules

aries_cloudagent.tests.test_conductor module

class aries_cloudagent.tests.test_conductor.Config[source]

Bases: object

bad_inbound_transports = {'transport.inbound_configs': [['bad', 'host', 80]]}
bad_outbound_transports = {'transport.outbound_configs': ['bad']}
good_inbound_transports = {'transport.inbound_configs': [['http', 'host', 80]]}
good_outbound_transports = {'transport.outbound_configs': ['http']}
test_settings = {}
class aries_cloudagent.tests.test_conductor.StubContextBuilder(settings)[source]

Bases: aries_cloudagent.config.base_context.ContextBuilder

build() → aries_cloudagent.config.injection_context.InjectionContext[source]

Build the new injection context.

class aries_cloudagent.tests.test_conductor.TestConductor(*args, **kwargs)[source]

Bases: sphinx.ext.autodoc.importer._MockObject, aries_cloudagent.tests.test_conductor.Config

test_admin()[source]
test_inbound_message_handler()[source]
test_outbound_message_handler()[source]
test_startup()[source]

aries_cloudagent.tests.test_init module

aries_cloudagent.tests.test_stats module

class aries_cloudagent.tests.test_stats.TestStats(*args, **kwargs)[source]

Bases: sphinx.ext.autodoc.importer._MockObject

test_disable()[source]
test_extract()[source]
test_fn_decorator()[source]
test_method_decorator()[source]

aries_cloudagent.tests.test_task_processor module

class aries_cloudagent.tests.test_task_processor.RetryTask(retries: int, result)[source]

Bases: object

run(pending: aries_cloudagent.task_processor.PendingTask)[source]
class aries_cloudagent.tests.test_task_processor.TestTaskProcessor(*args, **kwargs)[source]

Bases: sphinx.ext.autodoc.importer._MockObject

test_coro()[source]
test_error()[source]
test_retry()[source]