diff --git a/tests/test_settings.py b/tests/test_settings.py new file mode 100644 index 0000000..48949de --- /dev/null +++ b/tests/test_settings.py @@ -0,0 +1,10 @@ +from app.settings import Settings + + +def test_api_bootstrapper_config_reads_instance_not_global() -> None: + custom = Settings(service_name="custom-service", service_version="9.9.9") + + config = custom.api_bootstrapper_config + + assert config.service_name == "custom-service" + assert config.service_version == "9.9.9"