'Whitespace is signficant when analyzing a change.
This can be fixed after some long-standing issues with content tidying
are addressed.  See bug 1358541.'

@pytest.mark.spam
@requests_mock.mock()
def test_akismet_significant_normalized_whitespace(self, mock_requests):

    original = '<h2    id="Summary">Tabs</h2>\r\n<p>\r\n DCTB The    "tab"    or    tabulator    key,    was    added    to    typewriters    in\r\n DCTB the    late    19th    century,    to    aid    in    the    typing    of    tabular    data\r\n DCTB such    as    columns    of    numbers.    In    the    modern    computing    era,    a\r\n DCTB domain-specific    language    such    as    CSV    or    HTML    tables\r\n DCTB should    be    used    for    tabular    data.    It    is    an    on-going\r\n DCTB effort    to    remove    the    deprecated    tab    character    from\r\n DCTB source    documents.\r\n</p>\r\n'
    new = '<h2    id="Summary">Tabs</h2>\r\n<p>\r\n        The    "tab"    or    tabulator    key,    was    added    to    typewriters    in\n        the    late    19th    century,    to    aid    in    the    typing    of    tabular    data\n        such    as    columns    of    numbers.    In    the    modern    computing    era,    a\n        domain-specific    language    such    as    CSV    or    HTML    tables\n        should    be    used    for    tabular    data.    It    is    an    on-going\n        effort    to    remove    the    deprecated    tab    character    from\n        source    documents.\r\n</p>\n'
    rev_form = self.setup_form(mock_requests, override_original={'content': original}, override_data={'content': new})
    assert rev_form.is_valid()
    parameters = rev_form.akismet_parameters()
    assert (parameters['comment_content'] != '')
