minos.aggregate.testing.transactions.repositories.testcases

Classes

TransactionRepositoryTestCase

class TransactionRepositoryTestCase[source]

Bases: MinosTestCase, ABC

setUp()[source]
Return type

None

async populate()[source]
Return type

None

async asyncSetUp()[source]
async asyncTearDown()[source]
tearDown()[source]
abstract build_transaction_repository()[source]

For testing purposes.

Return type

TransactionRepository

async test_subclass()[source]
Return type

None

async test_submit()[source]
async test_submit_pending_raises()[source]
async test_submit_reserving_raises()[source]
async test_submit_reserved_raises()[source]
async test_submit_committing_raises()[source]
async test_submit_committed_raises()[source]
async test_submit_rejected_raises()[source]
async test_select_empty()[source]
async test_select()[source]
async test_select_uuid()[source]
async test_select_uuid_ne()[source]
async test_select_uuid_in()[source]
async test_select_destination_uuid()[source]
async test_select_status()[source]
async test_select_status_in()[source]
async test_select_event_offset()[source]
async test_select_event_offset_lt()[source]
async test_select_event_offset_gt()[source]
async test_select_event_offset_le()[source]
async test_select_event_offset_ge()[source]
async test_select_updated_at()[source]
async test_select_updated_at_lt()[source]
async test_select_updated_at_gt()[source]
async test_select_updated_at_le()[source]
async test_select_updated_at_ge()[source]
__init__(*args, **kwargs)
Parameters
  • args (Any) –

  • kwargs (Any) –

Return type

None

static __new__(cls, *args, **kwargs)
Parameters
  • args (Any) –

  • kwargs (Any) –

Return type

Any

get_config()
Return type

Config

get_config_file_path()
Return type

Path

get_injections()
Return type

list[Union[minos.common.injections.mixins.InjectableMixin, type[minos.common.injections.mixins.InjectableMixin], str]]

CONFIG_FILE_PATH: Path