minos.aggregate.testing.events.repositories.testcases

Classes

EventRepositoryTestCase

class EventRepositoryTestCase[source]

Bases: MinosTestCase, ABC

setUp()[source]
Return type

None

async asyncSetUp()[source]
async asyncTearDown()[source]
tearDown()[source]
async populate()[source]
Return type

None

abstract build_event_repository()[source]

For testing purposes.

Return type

EventRepository

assert_equal_repository_entries(expected, observed)[source]

For testing purposes.

Parameters
Return type

None

async test_generate_uuid()[source]
async test_submit()[source]
async test_submit_with_version()[source]
async test_submit_with_created_at()[source]
async test_submit_raises_duplicate()[source]
async test_submit_raises_no_action()[source]
async test_select_empty()[source]
async test_offset()[source]
async test_select()[source]
async test_select_id()[source]
async test_select_id_lt()[source]
async test_select_id_gt()[source]
async test_select_id_le()[source]
async test_select_id_ge()[source]
async test_select_uuid()[source]
async test_select_name()[source]
async test_select_version()[source]
async test_select_version_lt()[source]
async test_select_version_gt()[source]
async test_select_version_le()[source]
async test_select_version_ge()[source]
async test_select_transaction_uuid_null()[source]
async test_select_transaction_uuid()[source]
async test_select_transaction_uuid_ne()[source]
async test_select_transaction_uuid_in()[source]
async test_select_combined()[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