'If the user has no revisions, it should be stated in the template.'

def test_no_user_revisions_in_one_click_page_template(self):

    self.client.login(username='admin', password='testpass')
    ban_url = reverse('users.ban_user_and_cleanup', kwargs={'username': self.testuser.username})
    resp = self.client.get(ban_url, follow=True)
    eq_(200, resp.status_code)
    page = pq(resp.content)
    revisions_found = page.find('.dashboard-row')
    no_revisions = page.find('#ban-and-cleanup-form')
    eq_(len(revisions_found), 0)
    ok_(('This    user    has    not    created    any    revisions    in    the    past    three    days.' in no_revisions.text()))
