def setUpClass(cls): QCoreApplication.setOrganizationName("QGIS_Test") QCoreApplication.setOrganizationDomain("QGIS_TestPyQgsFontUtils.com") QCoreApplication.setApplicationName("QGIS_TestPyQgsFontUtils") QgsSettings().clear() start_app() cls._family = getTestFontFamily() cls._has_style = QgsFontUtils.fontFamilyHasStyle
def setUpClass(cls): cls._family = getTestFontFamily() cls._has_style = QgsFontUtils.fontFamilyHasStyle