##### SUMMARY

Running tests on collections which have dependencies with the `--docker` option is not currently supported. Only the collection being tested is copied into the container.

All collections in the same collection root should be copied into the container. Support for dependencies in other collection roots will not be supported. It will be up to the user to make sure all the necessary dependencies are already installed in the same collection root. If unnecessary collections are present, those will be copied as well.

##### ISSUE TYPE

Feature Idea

##### COMPONENT NAME

ansible-test

"""Code for finding content."""
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import abc
import collections
import os
from ... import types as t
from ...util import (
    ANSIBLE_SOURCE_ROOT,
)
from .. import (
    PathProvider,
)
class Layout:
    """Description of content locations and helper methods to access content."""
    def __init__(self,
                 root,  
                 paths,  
                 ):  
        self.root = root
        self.__paths = paths  
        self.__files = [path for path in paths if not path.endswith(os.path.sep)]  
        self.__paths_tree = paths_to_tree(self.__paths)
        self.__files_tree = paths_to_tree(self.__files)
    def all_files(self, include_symlinked_directories=False):  
        """Return a list of all file paths."""
        if include_symlinked_directories:
            return self.__paths
        return self.__files
    def walk_files(self, directory, include_symlinked_directories=False):