minos.common.testing.testcases

Classes

DatabaseMinosTestCase

MinosTestCase

class MinosTestCase[source]

Bases: IsolatedAsyncioTestCase, ABC

CONFIG_FILE_PATH: Path
setUp()[source]
Return type

None

get_config()[source]
Return type

Config

get_config_file_path()[source]
Return type

Path

get_injections()[source]
Return type

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

async asyncSetUp()[source]
Return type

None

async asyncTearDown()[source]
Return type

None

tearDown()[source]
Return type

None

__init__(*args, **kwargs)
Parameters
  • args (Any) –

  • kwargs (Any) –

Return type

None

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

  • kwargs (Any) –

Return type

Any

class DatabaseMinosTestCase[source]

Bases: MinosTestCase, ABC

setUp()[source]
get_client()[source]
Return type

DatabaseClient

get_config()[source]
Return type

Config

get_injections()[source]
Return type

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

async asyncSetUp()[source]
async asyncTearDown()[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_file_path()
Return type

Path

tearDown()
Return type

None

CONFIG_FILE_PATH: Path