'Search by author.'

def test_search_author_exists(self):

    self.make_approvals()
    user = UserProfile.objects.get(email='regular@mozilla.com')
    self.make_an_approval(mkt.LOG.ESCALATE_MANUAL, user=user, comment='hi')
    r = self.client.get(self.url, dict(search='regular'))
    eq_(r.status_code, 200)
    rows = pq(r.content)('#log-listing    tbody    tr')
    eq_(rows.filter(':not(.hide)').length, 1)
    eq_(rows.filter('.hide').eq(0).text(), 'hi')
