Skip to content

Commit ea24847

Browse files
committedApr 9, 2018
[processing] Try to resurrect grass tests
1 parent 3f7042d commit ea24847

File tree

5 files changed

+2032
-2031
lines changed

5 files changed

+2032
-2031
lines changed
 

‎.ci/travis/linux/blacklist.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,8 @@ PyQgsLocalServer
44
PyQgsPalLabelingServer
55
qgis_composermapgridtest
66
qgis_composerutils
7-
ProcessingGrass7AlgorithmsImageryTest
8-
ProcessingGrass7AlgorithmsRasterTest
9-
ProcessingGrass7AlgorithmsVectorTest
107
PyQgsAppStartup
118

12-
# temporary during processing refactoring
13-
ProcessingParametersTest
14-
159
# code layout tests are run on separate build
1610
qgis_spelling
1711
qgis_sipify

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
start_app,
3535
unittest
3636
)
37+
from processing.algs.grass7.Grass7Utils import Grass7Utils
3738

3839

3940
class TestGrass7AlgorithmsImageryTest(unittest.TestCase, AlgorithmsTestBase.AlgorithmsTest):
@@ -45,6 +46,8 @@ def setUpClass(cls):
4546
Processing.initialize()
4647
cls.cleanup_paths = []
4748

49+
assert Grass7Utils.installedVersion()
50+
4851
@classmethod
4952
def tearDownClass(cls):
5053
from processing.core.Processing import Processing

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
start_app,
3535
unittest
3636
)
37+
from processing.algs.grass7.Grass7Utils import Grass7Utils
3738

3839

3940
class TestGrass7AlgorithmsRasterTest(unittest.TestCase, AlgorithmsTestBase.AlgorithmsTest):
@@ -45,6 +46,8 @@ def setUpClass(cls):
4546
Processing.initialize()
4647
cls.cleanup_paths = []
4748

49+
assert Grass7Utils.installedVersion()
50+
4851
@classmethod
4952
def tearDownClass(cls):
5053
from processing.core.Processing import Processing

‎python/plugins/processing/tests/testdata/grass7_algorithms_imagery_tests.yaml

Lines changed: 497 additions & 497 deletions
Large diffs are not rendered by default.

‎python/plugins/processing/tests/testdata/grass7_algorithms_raster_tests.yaml

Lines changed: 1529 additions & 1528 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.