def METHOD_NAME(self):
    response = self.app.get("/person/2009/tessa-jowell", user=self.user)
    edit_buttons = response.html.find_all("a", attrs={"class": "button"})
    self.assertEqual(len(edit_buttons), 2)