def METHOD_NAME(self):
    with JPMaQSDownload(
        oauth=True,
        client_id=os.getenv("DQ_CLIENT_ID"),
        client_secret=os.getenv("DQ_CLIENT_SECRET"),
        check_connection=False,
    ) as jpmaqs:
        self.assertTrue(
            jpmaqs.check_connection(),
            msg="Authentication error - unable to access DataQuery:",
        )
    with DataQueryInterface(
        oauth=True,
        config=Config(
            client_id=os.getenv("DQ_CLIENT_ID"),
            client_secret=os.getenv("DQ_CLIENT_SECRET"),
        ),
    ) as dq:
        self.assertTrue(
            dq.check_connection(),
            msg="Authentication error - unable to access DataQuery:",
        )