Skip to content

Commit

Permalink
test only with env variables set in conf.py
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
  • Loading branch information
victorgarcia98 committed Jun 8, 2023
1 parent 23b5595 commit 777ee3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexmeasures/utils/config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def read_config(app: Flask, custom_path_to_config: str | None):
path_to_config_instance = os.path.join(app.instance_path, "flexmeasures.cfg")

# Custom config: not when testing (that should run completely on defaults) and documentation
if not app.testing and app.env != "documentation":
if not app.testing:
used_path_to_config = read_custom_config(
app, custom_path_to_config, path_to_config_home, path_to_config_instance
)
Expand Down

0 comments on commit 777ee3f

Please sign in to comment.