'Loop through each tool dictionary in the repository metadata associated with the received changeset_revision.
For each of these, check for a tools attribute, and load the tool metadata page if it exists, then display that tool\'s page.'

def check_repository_tools_for_changeset_revision(self, repository, changeset_revision, tool_metadata_strings_displayed=None, tool_page_strings_displayed=None):

    test_db_util.refresh(repository)
    repository_metadata = self.get_repository_metadata_by_changeset_revision(repository, changeset_revision)
    metadata = repository_metadata.metadata
    if ('tools' not in metadata):
        raise AssertionError(('No    tools    in    %s    revision    %s.' % (repository.name, changeset_revision)))
    for tool_dict in metadata['tools']:
        tool_id = tool_dict['id']
        tool_xml = tool_dict['tool_config']
        url = ('/repository/view_tool_metadata?repository_id=%s&changeset_revision=%s&tool_id=%s' % (self.security.encode_id(repository.id), changeset_revision, tool_id))
        self.visit_url(url)
        self.check_for_strings(tool_metadata_strings_displayed)
        self.load_display_tool_page(repository, tool_xml_path=tool_xml, changeset_revision=changeset_revision, strings_displayed=tool_page_strings_displayed, strings_not_displayed=None)
