summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_internal/cli/environments.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/ansible_test/_internal/cli/environments.py')
-rw-r--r--test/lib/ansible_test/_internal/cli/environments.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/lib/ansible_test/_internal/cli/environments.py b/test/lib/ansible_test/_internal/cli/environments.py
index 5063715acf..94cafae336 100644
--- a/test/lib/ansible_test/_internal/cli/environments.py
+++ b/test/lib/ansible_test/_internal/cli/environments.py
@@ -75,6 +75,7 @@ from ..ci import (
class ControllerMode(enum.Enum):
"""Type of provisioning to use for the controller."""
+
NO_DELEGATION = enum.auto()
ORIGIN = enum.auto()
DELEGATED = enum.auto()
@@ -252,7 +253,8 @@ def add_legacy_environment_options(
):
"""Add legacy options for controlling the test environment."""
environment: argparse.ArgumentParser = parser.add_argument_group( # type: ignore[assignment] # real type private
- title='environment arguments (mutually exclusive with "composite environment arguments" below)')
+ title='environment arguments (mutually exclusive with "composite environment arguments" below)',
+ )
add_environments_python(environment, target_mode)
add_environments_host(environment, controller_mode, target_mode)
@@ -383,7 +385,8 @@ def add_environment_venv(
environments_parser.add_argument(
'--venv-system-site-packages',
action='store_true',
- help='enable system site packages')
+ help='enable system site packages',
+ )
def add_global_docker(