##### SUMMARY

Move the remaining files needed by `ansible-test` into the `test/lib/ansible_test/` directory. This is required to implement: https://github.com/ansible/ansible/issues/59884

##### ISSUE TYPE

Feature Idea

##### COMPONENT NAME

ansible-test

"""Miscellaneous utility functions and classes specific to ansible cli tools."""
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import json
import os
from .constants import (
    SOFT_RLIMIT_NOFILE,
)
from .util import (
    common_environment,
    display,
    find_python,
    ApplicationError,
    ANSIBLE_ROOT,
    ANSIBLE_LIB_ROOT,
    ANSIBLE_TEST_DATA_ROOT,
)
from .util_common import (
    run_command,
)
from .config import (
    IntegrationConfig,
    EnvironmentConfig,
)
from .data import (
    data_context,
)
CHECK_YAML_VERSIONS = {}
def ansible_environment(args, color=True, ansible_config=None):