def METHOD_NAME(self):
    response = self.app.get("/person/2009/tessa-jowell")
    edit_buttons = response.html.find_all("a", attrs={"class": "button"})
    self.assertEqual(len(edit_buttons), 1)
    self.assertEqual(edit_buttons[0].string, "Log in to edit")