'Test that a deleted app/website doesn\'t break the queue.'

def test_deleted_website(self):

    AbuseReport.objects.all()[0].object.delete()
    r = self.client.get(self.url)
    eq_(r.status_code, 200)
    txt = pq(r.content)('.tabnav    li    a')[0].text
    teststring = u'Abuse    Reports    (1)'
    ok_(txt.endswith(teststring), ('"%s"    doesn\'t    start    with    "%s"' % (txt, teststring)))
