'Listing canned responses works as expected.'

def test_list_canned_responses(self):

    self._create_doc(CANNED_RESPONSES_WIKI)
    r = self.client.get(reverse('customercare.landing'), follow=True)
    eq_(200, r.status_code)
    doc = pq(r.content)
    responses_plain = doc('#accordion').text()
    assert ('Category    1' in responses_plain)
    assert ('Reply    1' in responses_plain)
    assert ('Reply    goes    here' in responses_plain)
    assert ('Category    2' in responses_plain)
    assert ('Reply    3' in responses_plain)
    assert ('And    another    reply' in responses_plain)
    eq_(3, len(doc('#accordion    a.reply-topic')))
