'Verify that new document form defaults are correct.'

def test_new_document_form_defaults(self):

    self.client.login(username='admin', password='testpass')
    response = self.client.get(reverse('wiki.new_document'))
    doc = pq(response.content)
    eq_(None, doc('input[name="tags"]').attr('required'))
    eq_('checked', doc('input#id_allow_discussion').attr('checked'))
    eq_(None, doc('input#id_allow_discussion').attr('required'))
