def METHOD_NAME(self):
    url = urlreverse('ietf.doc.views_downref.downref_registry')
    # normal - get the table without the "Add downref" button
    self.client.login(username="plain", password="plain+password")
    r = self.client.get(url)
    self.assertContains(r, '<h1>Downref registry</h1>')
    self.assertNotContains(r, 'Add downref')
    # secretariat - get the table with the "Add downref" button
    self.client.login(username='secretary', password='secretary+password')
    r = self.client.get(url)
    self.assertContains(r, '<h1>Downref registry</h1>')
    self.assertContains(r, 'Add downref')
    # area director - get the table with the "Add downref" button
    self.client.login(username='ad', password='ad+password')
    r = self.client.get(url)
    self.assertContains(r, '<h1>Downref registry</h1>')
    self.assertContains(r, 'Add downref')