'Changing the case of some letters in the slug should work.'

def test_change_slug_case(self):

    data = new_document_data()
    new_slug = 'Test-Document'
    data.update(slug=new_slug)
    data.update(form='doc')
    response = post(self.client, 'wiki.edit_document', data, args=[self.d.slug])
    eq_(200, response.status_code)
    doc = Document.objects.get(pk=self.d.pk)
    eq_(new_slug, doc.slug)
