def METHOD_NAME(self):
    self.link.delete()
    with self.assertRaises(Exception):
        _ = self.links.get(self.lid)
    self.curr.execute("Select count(*) from links where link_id=?", [self.lid])
    self.assertEqual(0, self.curr.fetchone()[0], f"Failed to delete link {self.lid}")