##### SUMMARY
That would have prevented #69031.

##### ISSUE TYPE
- Feature Idea

##### COMPONENT NAME
ansible-test

"""Sanity test for ansible-doc."""
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import collections
import os
import re
from .. import types as t
from ..sanity import (
    SanitySingleVersion,
    SanityFailure,
    SanitySuccess,
)
from ..target import (
    TestTarget,
)
from ..util import (
    SubprocessError,
    display,
    is_subdir,
)
from ..util_common import (
    intercept_command,
)
from ..ansible_util import (
    ansible_environment,
)
from ..config import (