diff --git a/integration_tests.py b/integration_tests.py index 428799c7639..07dd6e58c5c 100755 --- a/integration_tests.py +++ b/integration_tests.py @@ -196,6 +196,8 @@ def prepare_environment( release_var: Optional[str] = None, ): """Prepare the local environment for installing DIRAC.""" + if extra_module is None: + extra_module = [] _check_containers_running(is_up=False) if editable is None: editable = sys.stdout.isatty()