Skip to content

Commit

Permalink
[processing] Try to resurrect grass tests
Browse files Browse the repository at this point in the history
(cherry-picked from ea24847)
  • Loading branch information
nyalldawson committed Apr 10, 2018
1 parent 611c2b7 commit cab2cc1
Show file tree
Hide file tree
Showing 5 changed files with 2,032 additions and 2,031 deletions.
6 changes: 0 additions & 6 deletions .ci/travis/linux/blacklist.txt
Expand Up @@ -4,14 +4,8 @@ PyQgsLocalServer
PyQgsPalLabelingServer
qgis_composermapgridtest
qgis_composerutils
ProcessingGrass7AlgorithmsImageryTest
ProcessingGrass7AlgorithmsRasterTest
ProcessingGrass7AlgorithmsVectorTest
PyQgsAppStartup

# temporary during processing refactoring
ProcessingParametersTest

# code layout tests are run on separate build
qgis_spelling
qgis_sipify
Expand Down
Expand Up @@ -34,6 +34,7 @@
start_app,
unittest
)
from processing.algs.grass7.Grass7Utils import Grass7Utils


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

assert Grass7Utils.installedVersion()

@classmethod
def tearDownClass(cls):
from processing.core.Processing import Processing
Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/tests/Grass7AlgorithmsRasterTest.py
Expand Up @@ -34,6 +34,7 @@
start_app,
unittest
)
from processing.algs.grass7.Grass7Utils import Grass7Utils


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

assert Grass7Utils.installedVersion()

@classmethod
def tearDownClass(cls):
from processing.core.Processing import Processing
Expand Down

0 comments on commit cab2cc1

Please sign in to comment.