def METHOD_NAME(self):
    doc = self.create_slides()
    url = urlreverse('ietf.doc.views_material.edit_material', kwargs=dict(name=doc.name, action="title"))
    login_testing_unauthorized(self, "secretary", url)
    # post
    r = self.client.post(url, dict(title="New title"))
    self.assertEqual(r.status_code, 302)
    doc = Document.objects.get(name=doc.name)
    self.assertEqual(doc.title, "New title")