
##### SUMMARY

Many developers are used to storing testing code in a `tests/` directory in their project root, but the way `ansible-test` works currently requires testing code be stored only in a `test/` directory only.

It would be nice to either allow tests to be picked up from `test/` _or_ `tests/`, or to maybe pass a cli option (like `--test-dir`) or environment variable to specify the directory containing the testing code.

##### ISSUE TYPE
- Feature Idea

##### COMPONENT NAME
ansible-test

##### ADDITIONAL INFORMATION
N/A
"""Layout provider for Ansible collections."""
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import os
from ... import types as t
from . import (
    ContentLayout,
    LayoutProvider,
    CollectionDetail,
)
class CollectionLayout(LayoutProvider):
    """Layout provider for Ansible collections."""
    __module_path = 'plugins/modules'
    __unit_path = 'test/unit'
    @staticmethod
    def is_content_root(path):