mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Allow overriding is_webapp parameter in tests.toml
This commit is contained in:
parent
9627a8c0a3
commit
9584b9551b
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@ def generate_test_list_base(test_manifest, default_install_args, is_webapp, is_m
|
||||||
|
|
||||||
is_full_domain_app = "domain" in default_install_args and "path" not in default_install_args
|
is_full_domain_app = "domain" in default_install_args and "path" not in default_install_args
|
||||||
|
|
||||||
|
if test_manifest.get("webapp") is not None:
|
||||||
|
assert isinstance(test_manifest["webapp"], bool), "webapp must be a boolean value"
|
||||||
|
is_webapp = test_manifest["webapp"]
|
||||||
|
|
||||||
for test_suite_id, test_suite in test_manifest.items():
|
for test_suite_id, test_suite in test_manifest.items():
|
||||||
|
|
||||||
# Ignore non-testsuite stuff like "test_format"
|
# Ignore non-testsuite stuff like "test_format"
|
||||||
|
|
Loading…
Add table
Reference in a new issue