Skip to content

Commit ac533e3

Browse files
committedApr 26, 2023
More setup/teardown fixes
1 parent 5792990 commit ac533e3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+74
-73
lines changed
 

‎tests/src/python/test_offline_editing_wfs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class TestWFST(unittest.TestCase, OfflineTestBase):
5252
@classmethod
5353
def setUpClass(cls):
5454
"""Run before all tests"""
55-
super(unittest.TestCase, cls).setUpClass()
55+
super(TestWFST, cls).setUpClass()
5656
cls.port = QGIS_SERVER_OFFLINE_PORT
5757
# Create tmp folder
5858
cls.temp_path = tempfile.mkdtemp()
@@ -80,7 +80,7 @@ def setUpClass(cls):
8080
def tearDownClass(cls):
8181
"""Run after all tests"""
8282
rmtree(cls.temp_path)
83-
super(unittest.TestCase, cls).tearDownClass()
83+
super(TestWFST, cls).tearDownClass()
8484

8585
def setUp(self):
8686
"""Run before each test."""

‎tests/src/python/test_project_storage_oracle.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,12 @@
2929
TEST_DATA_DIR = unitTestDataPath()
3030

3131

32-
class TestPyQgsProjectStorageOracle(TestPyQgsProjectStorageBase, unittest.TestCase):
32+
class TestPyQgsProjectStorageOracle(unittest.TestCase, TestPyQgsProjectStorageBase):
3333

3434
@classmethod
3535
def setUpClass(cls):
3636
"""Run before all tests"""
37-
38-
super(unittest.TestCase, cls).setUpClass()
37+
super(TestPyQgsProjectStoragePostgres, cls).setUpClass()
3938

4039
cls.dbconn = "host=localhost dbname=XEPDB1 port=1521 user='QGIS' password='qgis'"
4140
if 'QGIS_ORACLETEST_DB' in os.environ:

0 commit comments

Comments
 (0)