def test_no_search_query(self):
    '\n        When not searching all builds should show.\n        '
    resp = self.client.get(self.url)
    doc = pq(resp.content)
    eq_(len(doc('.build-table')), 2)
    eq_(len(doc('.not-found.hide')), 2)
    release = firefox_details.latest_version('release')
    num_builds = len(firefox_details.get_filtered_full_builds(release))
    num_builds += len(firefox_details.get_filtered_test_builds(release))
    eq_(len(doc('tr[data-search]')), num_builds)
When not searching all builds should show.
def test_no_search_query(self):
    '\n        \n        '
    resp = self.client.get(self.url)
    doc = pq(resp.content)
    eq_(len(doc('.build-table')), 2)
    eq_(len(doc('.not-found.hide')), 2)
    release = firefox_details.latest_version('release')
    num_builds = len(firefox_details.get_filtered_full_builds(release))
    num_builds += len(firefox_details.get_filtered_test_builds(release))
    eq_(len(doc('tr[data-search]')), num_builds)