Coverage for app\config.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2024-09-25 15:02 -0300

1"""Settings module""" 

2 

3from dynaconf import Dynaconf 

4 

5 

6def get_settings(): 

7 settings = Dynaconf( 

8 settings_files=["settings.toml", ".secrets.toml"], 

9 environments=["development", "production", "testing"], 

10 ) 

11 settings.env = "testing" 

12 return settings