minos.aggregate.testing.snapshots.repositories.factories

Classes

MockedSnapshotDatabaseOperationFactory

For testing purposes.

class MockedSnapshotDatabaseOperationFactory[source]

Bases: SnapshotDatabaseOperationFactory

For testing purposes.

build_create()[source]

For testing purposes.

Return type

DatabaseOperation

build_delete(transaction_uuids)[source]

For testing purposes.

Parameters

transaction_uuids (Iterable[UUID]) –

Return type

DatabaseOperation

build_submit(uuid, name, version, schema, data, created_at, updated_at, transaction_uuid)[source]

For testing purposes.

Parameters
Return type

DatabaseOperation

build_query(name, condition, ordering, limit, transaction_uuids, exclude_deleted)[source]

For testing purposes.

Parameters
Return type

DatabaseOperation

build_submit_offset(value)[source]

For testing purposes.

Parameters

value (int) –

Return type

DatabaseOperation

build_query_offset()[source]

For testing purposes.

Return type

DatabaseOperation