'Tests advanced search with no query'

def test_wiki_no_query(self):

    doc = DocumentFactory(locale=u'en-US', category=10)
    doc.tags.add(u'desktop')
    RevisionFactory(document=doc, is_approved=True)
    self.refresh()
    response = self.client.get(reverse('search.advanced'), {'q': '', 'tags': 'desktop', 'w': '1', 'a': '1', 'format': 'json'})
    eq_(200, response.status_code)
    content = json.loads(response.content)
    eq_(content['total'], 1)
