def METHOD_NAME(cls):
    """Overridden method. Runs once before all tests in this class."""
    try:
        cls.app = QApplication().processEvents()
    except RuntimeError:
        pass
    logging.basicConfig(
        stream=sys.stderr,
        level=logging.DEBUG,
        format='%(asctime)s %(levelname)s: %(message)s',
        datefmt='%Y-%m-%d %H:%M:%S',
    )