def METHOD_NAME(self):
    os.putenv("LDMS_AUTH_FILE", self.OTHER_AUTH_OPT["conf"])
    xprt = ldms.Xprt(name=self.XPRT, auth=self.AUTH)
    with self.assertRaises(ConnectionError):
        xprt.connect(host="localhost", port=self.PORT)