minos.aggregate.testing.transactions.repositories.factories

Classes

MockedTransactionDatabaseOperationFactory

For testing purposes.

class MockedTransactionDatabaseOperationFactory[source]

Bases: TransactionDatabaseOperationFactory

For testing purposes.

build_create()[source]

For testing purposes.

Return type

DatabaseOperation

build_submit(uuid, destination_uuid, status, event_offset, **kwargs)[source]

For testing purposes.

Parameters
Return type

DatabaseOperation

build_query(uuid=None, uuid_ne=None, uuid_in=None, destination_uuid=None, status=None, status_in=None, event_offset=None, event_offset_lt=None, event_offset_gt=None, event_offset_le=None, event_offset_ge=None, updated_at=None, updated_at_lt=None, updated_at_gt=None, updated_at_le=None, updated_at_ge=None, **kwargs)[source]

For testing purposes.

Parameters
Return type

DatabaseOperation