'Load the invalid tool page for each invalid tool associated with this changeset revision and verify the received error messages.'

def check_repository_invalid_tools_for_changeset_revision(self, repository, changeset_revision, strings_displayed=None, strings_not_displayed=None):

    repository_metadata = self.get_repository_metadata_by_changeset_revision(repository, changeset_revision)
    metadata = repository_metadata.metadata
    assert ('invalid_tools' in metadata), ('Metadata    for    changeset    revision    %s    does    not    define    invalid    tools' % changeset_revision)
    for tool_xml in metadata['invalid_tools']:
        self.load_invalid_tool_page(repository, tool_xml=tool_xml, changeset_revision=changeset_revision, strings_displayed=strings_displayed, strings_not_displayed=strings_not_displayed)
