'Test Akismet parameters when the tags are saved without quotes.
Tracked in bug 1268511.'

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

    tags = {'tags': 'CodingScripting,    Glossary'}
    rev_form = self.setup_form(mock_requests, override_original=tags)
    assert rev_form.is_valid()
    parameters = rev_form.akismet_parameters()
    assert (sorted(parameters.keys()) == self.akismet_keys_edit)
    expected_content = '<p>{{cssinfo}}    and    my    changes.</p>\n<p><a    href="http://spam.example.com">Buy    my    product!</a></p>\n<pre    class="brush:css">display:    none;</pre>\nComment\nCSS\nCSS    Property\nReference'
    assert (parameters['comment_content'] == expected_content)
