def METHOD_NAME(cls):
    super(QCoreAppTestCase, cls).METHOD_NAME()
    QStandardPaths.setTestModeEnabled(True)
    app = cls._AppClass.instance()
    if app is None:
        app = cls._AppClass([])
    cls.app = app
    cls.__appname = cls.app.applicationName()
    cls.__appdomain = cls.app.organizationDomain()
    cls.app.setApplicationName("orangecanvas.testing")
    cls.app.setOrganizationDomain("biolab.si")