def METHOD_NAME(self, coro):
    """
    Returns a function which calls the ``test_`` function which calls
    ``loop.run_until_complete`` to return the result of the test.
    """
    def run_it(*args, **kwargs):
        """
        Calls the loop's ``run_until_complete`` method.
        """
        logging.basicConfig(
            level=getattr(
                logging,
                os.getenv("LOGGING", "CRITICAL").upper(),
                logging.CRITICAL,
            )
        )
        result = self.loop.run_until_complete(coro(*args, **kwargs))
        logging.basicConfig(level=logging.CRITICAL)
        return result
    return run_it