test__config#

Test proper functionality of the configuration manager.




Functions#

get_sample_settings

temp_yaml_file

Create a temporary YAML file containing the contents.

test__heirarchy_of_settings_sources

Test that all setting sources follow the right priority.

get_sample_settings()#

tests.unit_tests.test__config.get_sample_settings(as_env_vars: bool = False) Dict[str, Any][source]#

temp_yaml_file()#

tests.unit_tests.test__config.temp_yaml_file(contents: Dict[str, Any]) pathlib.Path[source]#

Create a temporary YAML file containing the contents.

test__heirarchy_of_settings_sources()#

tests.unit_tests.test__config.test__heirarchy_of_settings_sources()[source]#

Test that all setting sources follow the right priority.