aries_cloudagent.messaging.decorators.tests package

Submodules

aries_cloudagent.messaging.decorators.tests.test_decorator_set module

class aries_cloudagent.messaging.decorators.tests.test_decorator_set.SimpleModel(*, value: str = None, handled_decorator: str = None, **kwargs)[source]

Bases: aries_cloudagent.messaging.models.base.BaseModel

class Meta[source]

Bases: object

schema_class = 'SimpleModelSchema'
class aries_cloudagent.messaging.decorators.tests.test_decorator_set.SimpleModelSchema(*args, **kwargs)[source]

Bases: aries_cloudagent.messaging.models.base.BaseModelSchema

class Meta[source]

Bases: object

model_class

alias of SimpleModel

handled_decorator = <fields.String(default=<marshmallow.missing>, attribute=None, validate=None, required=False, load_only=False, dump_only=False, missing=<marshmallow.missing>, allow_none=False, error_messages={'required': 'Missing data for required field.', 'null': 'Field may not be null.', 'validator_failed': 'Invalid value.', 'invalid': 'Not a valid string.', 'invalid_utf8': 'Not a valid utf-8 string.'})>
value = <fields.String(default=<marshmallow.missing>, attribute=None, validate=None, required=True, load_only=False, dump_only=False, missing=<marshmallow.missing>, allow_none=False, error_messages={'required': 'Missing data for required field.', 'null': 'Field may not be null.', 'validator_failed': 'Invalid value.', 'invalid': 'Not a valid string.', 'invalid_utf8': 'Not a valid utf-8 string.'})>
class aries_cloudagent.messaging.decorators.tests.test_decorator_set.TestDecoratorSet(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_decorator_model()[source]
test_dict()[source]
test_extract()[source]
test_field_decorator()[source]
test_skip_decorator()[source]

aries_cloudagent.messaging.decorators.tests.test_thread_decorator module

class aries_cloudagent.messaging.decorators.tests.test_thread_decorator.TestThreadDecorator(methodName='runTest')[source]

Bases: unittest.case.TestCase

parent_id = 'tid-000'
received_orders = {'did': 2}
sender_order = 1
test_init()[source]
test_serialize_load()[source]
thread_id = 'tid-001'