diff --git a/lib/dl_settings/dl_settings_tests/unit/base/test_settings.py b/lib/dl_settings/dl_settings_tests/unit/base/test_settings.py index 028ba586b..dd17728ed 100644 --- a/lib/dl_settings/dl_settings_tests/unit/base/test_settings.py +++ b/lib/dl_settings/dl_settings_tests/unit/base/test_settings.py @@ -78,7 +78,10 @@ class Settings(dl_settings.BaseRootSettings): field2: str = NotImplemented config1 = {"field1": "config1_value"} - config2 = {"field2": "config2_value"} + config2 = { + "field1": "config2_value", + "field2": "config2_value", + } config1_path = tmp_configs.add(config1) config2_path = tmp_configs.add(config2) @@ -137,7 +140,12 @@ class NestedSettings(dl_settings.BaseSettings): class Settings(dl_settings.BaseRootSettings): nested: NestedSettings = pydantic.Field(default_factory=NestedSettings) - config = {"nested": {"field2": "config_value"}} + config = { + "nested": { + "field1": "config_value", + "field2": "config_value", + } + } config_path = tmp_configs.add(config) monkeypatch.setenv("NESTED__FIELD1", "env_value")