Navigation Menu

Skip to content

Commit

Permalink
More super call fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 26, 2023
1 parent faaa7f2 commit a6dac42
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions python/plugins/processing/tests/CheckValidityAlgorithm.py
Expand Up @@ -46,6 +46,8 @@ class TestQgsProcessingCheckValidity(unittest.TestCase):
@classmethod
def setUpClass(cls):
"""Run before all tests"""
super().setUpClass()

QCoreApplication.setOrganizationName("QGIS_Test")
QCoreApplication.setOrganizationDomain(
"QGIS_TestPyQgsProcessingCheckValidity.com")
Expand Down
1 change: 1 addition & 0 deletions python/plugins/processing/tests/GuiTest.py
Expand Up @@ -104,6 +104,7 @@ class WrappersTest(unittest.TestCase):

@classmethod
def setUpClass(cls):
super().setUpClass()
ProcessingConfig.initialize()

def checkConstructWrapper(self, param, expected_wrapper_class):
Expand Down
1 change: 1 addition & 0 deletions tests/src/python/test_qgsgpslogger.py
Expand Up @@ -57,6 +57,7 @@ class TestQgsGpsLogger(unittest.TestCase):
@classmethod
def setUpClass(cls):
"""Run before all tests"""
super().setUpClass()

QCoreApplication.setOrganizationName("QGIS_Test")
QCoreApplication.setOrganizationDomain("TestQgsGpsLogger.com")
Expand Down
1 change: 1 addition & 0 deletions tests/src/python/test_qgshistoryproviderregistry.py
Expand Up @@ -83,6 +83,7 @@ class TestQgsHistoryProviderRegistry(unittest.TestCase):

@classmethod
def setUpClass(cls):
super().setUpClass()
# trigger metatype registration
QgsGui.instance()

Expand Down
1 change: 0 additions & 1 deletion tests/src/python/test_stylestorage_oracle.py
Expand Up @@ -38,7 +38,6 @@ def setUp(self):
conn.executeSql('DELETE FROM mdsys.sdo_geom_metadata_table WHERE sdo_table_name = \'TEST_STYLES\'')

def schemaName(self):

return QgsDataSourceUri(self.uri).param('username')

def tableName(self):
Expand Down

0 comments on commit a6dac42

Please sign in to comment.