diff --git a/src/app.py b/src/app.py index e0ec13277..dd8b92a02 100644 --- a/src/app.py +++ b/src/app.py @@ -2385,7 +2385,7 @@ def _check_manifest_requirements(manifest: Dict, action: str): ) # Multi-instance - if action == "install" and manifest["integration"]["multi_instance"] == False: + if action == "install" and manifest["integration"]["multi_instance"] is False: apps = _installed_apps() sibling_apps = [a for a in apps if a == app_id or a.startswith(f"{app_id}__")] if len(sibling_apps) > 0: diff --git a/src/tests/test_settings.py b/src/tests/test_settings.py index 4de33e33c..e862e4377 100644 --- a/src/tests/test_settings.py +++ b/src/tests/test_settings.py @@ -1,7 +1,6 @@ import os -import json -import glob import pytest +import yaml import moulinette from yunohost.utils.error import YunohostError, YunohostValidationError