diff --git a/tests/test_app.py b/tests/test_app.py index d729652..e2f6cc5 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -519,7 +519,9 @@ def config_panel(app): "Please do not commit config_panel.toml.example ... This is just a 'documentation' for the config panel syntax meant to be kept in example_ynh" ) - if not file_exists(app.path + "/config_panel.toml") and file_exists(app.path + "/scripts/config"): + if not file_exists(app.path + "/config_panel.toml") and file_exists( + app.path + "/scripts/config" + ): yield Warning( "The script 'config' exists but there is no config_panel.toml ... Please remove the 'config' script if this is just the example from example_ynh, or add a proper config_panel.toml if the point is really to have a config panel" )