The Wayback Machine - https://web.archive.org/web/20220412145101/https://github.com/topics/settings
Skip to content
#

settings

Here are 1,018 public repositories matching this topic...

dynaconf
rochacbruno
rochacbruno commented Mar 31, 2022

On lines
https://github.com/rochacbruno/dynaconf/blob/master/dynaconf/validator.py#L202-L205

validators.validate is calling from_env and it makes the variables to be reloaded from source files.

This is not good for testing.

Solution:

  1. Check if validation is happening on the same current env, then don't reload
  2. accept argument reload=False that will cause those lines to pass
Not a Bug RFC good first issue

Improve this page

Add a description, image, and links to the settings topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the settings topic, visit your repo's landing page and select "manage topics."

Learn more