'Pull all the dependencies.'

def pull_dependencies(self, nodes):

    visitor = DependencyFinderVisitor()
    for node in nodes:
        visitor.visit(node)
    for dependency in ('filters', 'tests'):
        mapping = getattr(self, dependency)
        for name in getattr(visitor, dependency):
            if (name not in mapping):
                mapping[name] = self.temporary_identifier()
            self.writeline(('%s    =    environment.%s[%r]' % (mapping[name], dependency, name)))
