##### 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

"""Return a list of file paths found recursively under the given directory."""
        if include_symlinked_directories:
            tree = self.__paths_tree
        else:
            tree = self.__files_tree
        parts = directory.rstrip(os.sep).split(os.sep)
        item = get_tree_item(tree, parts)
        if not item:
            return []
        directories = collections.deque(item[0].values())
        files = list(item[1])
        while directories:
            item = directories.pop()
            directories.extend(item[0].values())
            files.extend(item[1])
        return files
    def get_dirs(self, directory):  
        """Return a list directory paths found directly under the given directory."""
        parts = directory.rstrip(os.sep).split(os.sep)
        item = get_tree_item(self.__files_tree, parts)
        return [os.path.join(directory, key) for key in item[0].keys()] if item else []
    def get_files(self, directory):  
        """Return a list of file paths found directly under the given directory."""
        parts = directory.rstrip(os.sep).split(os.sep)
        item = get_tree_item(self.__files_tree, parts)
        return item[1] if item else []
class ContentLayout(Layout):