From d9f60a9c7d8ffb444aeaa83c454eaffc566733cf Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 25 Jun 2024 14:27:24 +0200 Subject: [PATCH] Adapt 'is_webapp' check to also cover helpers 2.1 --- lib/parse_tests_toml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/parse_tests_toml.py b/lib/parse_tests_toml.py index 50c28f6..ce699a8 100755 --- a/lib/parse_tests_toml.py +++ b/lib/parse_tests_toml.py @@ -146,7 +146,7 @@ def build_test_list(basedir: Path) -> dict[str, dict[str, Any]]: manifest = toml.load((basedir / "manifest.toml").open("r")) is_multi_instance = manifest.get("integration").get("multi_instance") is True - is_webapp = os.system(f"grep -q '^ynh_add_nginx_config' '{str(basedir)}/scripts/install'") == 0 + is_webapp = os.system(f"grep -q '^ynh_add_nginx_config\|^ynh_nginx_add_config' '{str(basedir)}/scripts/install'") == 0 default_install_args = get_default_values_for_questions(manifest, raise_if_no_default=False)