silo.low_code.fixtures package
- silo.low_code.fixtures.cache_dict_with_database()
- silo.low_code.fixtures.enable_debug(mocker)
- silo.low_code.fixtures.enable_typechecking()
Enables TypeChecking
Enables TypeChecking to be performed for the tests. After the tests execute, typechecking will be disabled
- silo.low_code.fixtures.generate_logpath()
- silo.low_code.fixtures.mock_cache_manager(mocker)
- silo.low_code.fixtures.mock_env_cache(monkeypatch)
- silo.low_code.fixtures.perform_collector_registration(mocker)
Perform automatic step registration
- silo.low_code.fixtures.pytest_runtest_setup(item)
- silo.low_code.fixtures.register_step()
Register a step into the ActionRegistrar
- Parameters
func (callable) – Function / Class to register
name (str) – Name of the function to be referenced by the Snippet Framework
action_registrar (registrar.ActionRegistrar) – Registrar to use for registration. Default: Global Registrar
get_req_id (callable) – Function for looking up the request ID. Default: None
metadata (dict) – Metadata to be registered for the step. Default: {}
reg_type (int) – Registration type. Default: STEP_TYPE_PROCESSOR
- Return type
- silo.low_code.fixtures.registrar_clean(mocker)
Cleanout all registered steps from the registrar
- Return type
- silo.low_code.fixtures.reset_framework(generate_logpath, mocker, perform_collector_registration)
Fully reset the framework back to an empty state
- silo.low_code.fixtures.setup_test_env()
- silo.low_code.fixtures.sl1_env_nodebug(mocker, request)
- silo.low_code.fixtures.snip_id()
Get the next snippet_id
- Return type
int
- silo.low_code.fixtures.test_caching(mocker, setup_test_env)