mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
[processing] Try to resurrect grass tests
This commit is contained in:
parent
3f7042d104
commit
ea24847adf
@ -4,14 +4,8 @@ PyQgsLocalServer
|
|||||||
PyQgsPalLabelingServer
|
PyQgsPalLabelingServer
|
||||||
qgis_composermapgridtest
|
qgis_composermapgridtest
|
||||||
qgis_composerutils
|
qgis_composerutils
|
||||||
ProcessingGrass7AlgorithmsImageryTest
|
|
||||||
ProcessingGrass7AlgorithmsRasterTest
|
|
||||||
ProcessingGrass7AlgorithmsVectorTest
|
|
||||||
PyQgsAppStartup
|
PyQgsAppStartup
|
||||||
|
|
||||||
# temporary during processing refactoring
|
|
||||||
ProcessingParametersTest
|
|
||||||
|
|
||||||
# code layout tests are run on separate build
|
# code layout tests are run on separate build
|
||||||
qgis_spelling
|
qgis_spelling
|
||||||
qgis_sipify
|
qgis_sipify
|
||||||
|
@ -34,6 +34,7 @@ from qgis.testing import (
|
|||||||
start_app,
|
start_app,
|
||||||
unittest
|
unittest
|
||||||
)
|
)
|
||||||
|
from processing.algs.grass7.Grass7Utils import Grass7Utils
|
||||||
|
|
||||||
|
|
||||||
class TestGrass7AlgorithmsImageryTest(unittest.TestCase, AlgorithmsTestBase.AlgorithmsTest):
|
class TestGrass7AlgorithmsImageryTest(unittest.TestCase, AlgorithmsTestBase.AlgorithmsTest):
|
||||||
@ -45,6 +46,8 @@ class TestGrass7AlgorithmsImageryTest(unittest.TestCase, AlgorithmsTestBase.Algo
|
|||||||
Processing.initialize()
|
Processing.initialize()
|
||||||
cls.cleanup_paths = []
|
cls.cleanup_paths = []
|
||||||
|
|
||||||
|
assert Grass7Utils.installedVersion()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
from processing.core.Processing import Processing
|
from processing.core.Processing import Processing
|
||||||
|
@ -34,6 +34,7 @@ from qgis.testing import (
|
|||||||
start_app,
|
start_app,
|
||||||
unittest
|
unittest
|
||||||
)
|
)
|
||||||
|
from processing.algs.grass7.Grass7Utils import Grass7Utils
|
||||||
|
|
||||||
|
|
||||||
class TestGrass7AlgorithmsRasterTest(unittest.TestCase, AlgorithmsTestBase.AlgorithmsTest):
|
class TestGrass7AlgorithmsRasterTest(unittest.TestCase, AlgorithmsTestBase.AlgorithmsTest):
|
||||||
@ -45,6 +46,8 @@ class TestGrass7AlgorithmsRasterTest(unittest.TestCase, AlgorithmsTestBase.Algor
|
|||||||
Processing.initialize()
|
Processing.initialize()
|
||||||
cls.cleanup_paths = []
|
cls.cleanup_paths = []
|
||||||
|
|
||||||
|
assert Grass7Utils.installedVersion()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
from processing.core.Processing import Processing
|
from processing.core.Processing import Processing
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user