Skip to content

Commit a6dac42

Browse files
committedApr 26, 2023
More super call fixes
1 parent faaa7f2 commit a6dac42

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed
 

‎python/plugins/processing/tests/CheckValidityAlgorithm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ class TestQgsProcessingCheckValidity(unittest.TestCase):
4646
@classmethod
4747
def setUpClass(cls):
4848
"""Run before all tests"""
49+
super().setUpClass()
50+
4951
QCoreApplication.setOrganizationName("QGIS_Test")
5052
QCoreApplication.setOrganizationDomain(
5153
"QGIS_TestPyQgsProcessingCheckValidity.com")

‎python/plugins/processing/tests/GuiTest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ class WrappersTest(unittest.TestCase):
104104

105105
@classmethod
106106
def setUpClass(cls):
107+
super().setUpClass()
107108
ProcessingConfig.initialize()
108109

109110
def checkConstructWrapper(self, param, expected_wrapper_class):

‎tests/src/python/test_qgsgpslogger.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class TestQgsGpsLogger(unittest.TestCase):
5757
@classmethod
5858
def setUpClass(cls):
5959
"""Run before all tests"""
60+
super().setUpClass()
6061

6162
QCoreApplication.setOrganizationName("QGIS_Test")
6263
QCoreApplication.setOrganizationDomain("TestQgsGpsLogger.com")

‎tests/src/python/test_qgshistoryproviderregistry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ class TestQgsHistoryProviderRegistry(unittest.TestCase):
8383

8484
@classmethod
8585
def setUpClass(cls):
86+
super().setUpClass()
8687
# trigger metatype registration
8788
QgsGui.instance()
8889

‎tests/src/python/test_stylestorage_oracle.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def setUp(self):
3838
conn.executeSql('DELETE FROM mdsys.sdo_geom_metadata_table WHERE sdo_table_name = \'TEST_STYLES\'')
3939

4040
def schemaName(self):
41-
4241
return QgsDataSourceUri(self.uri).param('username')
4342

4443
def tableName(self):

0 commit comments

Comments
 (0)
Please sign in to comment.