minos.aggregate.testing.events.repositories.factories

Classes

MockedEventDatabaseOperationFactory

For testing purposes.

class MockedEventDatabaseOperationFactory[source]

Bases: EventDatabaseOperationFactory

For testing purposes.

build_create()[source]

For testing purposes.

Return type

DatabaseOperation

build_submit(transaction_uuids, uuid, action, name, version, data, created_at, transaction_uuid, lock, **kwargs)[source]

For testing purposes.

Parameters
Return type

DatabaseOperation

build_query(uuid=None, name=None, version=None, version_lt=None, version_gt=None, version_le=None, version_ge=None, id=None, id_lt=None, id_gt=None, id_le=None, id_ge=None, transaction_uuid=None, transaction_uuid_ne=None, transaction_uuid_in=None, **kwargs)[source]

For testing purposes.

Parameters
Return type

DatabaseOperation

build_query_offset()[source]

For testing purposes.

Return type

DatabaseOperation