'If there are no results, fallback to a list of top articles.'

def test_fallback_for_zero_results(self):

    firefox = ProductFactory(title=u'firefox', slug=u'desktop')
    doc = DocumentFactory(title=u'audio1', locale=u'en-US', category=10, products=[firefox])
    RevisionFactory(document=doc, is_approved=True)
    doc = DocumentFactory(title=u'audio2', locale=u'en-US', category=10, products=[firefox])
    RevisionFactory(document=doc, is_approved=True)
    self.refresh()
    response = self.client.get(reverse('search'), {'q': 'piranha'})
    eq_(200, response.status_code)
    assert ("We    couldn't    find    any    results    for" in response.content)
    doc = pq(response.content)
    eq_(2, len(doc('#search-results    .result')))
