Skip to content

Commit 2da85f8

Browse files
committed
Temporarily deactivate all processing providers/algorithms
While the processing API is in such a state of flux it's become unmaintainable to port these algorithms change-by-change. Instead, disable them all until the API is fixed, and then we can port them algorithm by algorithm and reactivate each test in turn.
1 parent 632a2be commit 2da85f8

7 files changed

+5643
-5638
lines changed

python/plugins/processing/core/Processing.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@
5252
from processing.tools import dataobjects
5353

5454
from processing.modeler.ModelerAlgorithmProvider import ModelerAlgorithmProvider # NOQA
55-
from processing.algs.qgis.QGISAlgorithmProvider import QGISAlgorithmProvider # NOQA
56-
from processing.algs.grass7.Grass7AlgorithmProvider import Grass7AlgorithmProvider # NOQA
57-
from processing.algs.gdal.GdalAlgorithmProvider import GdalAlgorithmProvider # NOQA
58-
from processing.algs.saga.SagaAlgorithmProvider import SagaAlgorithmProvider # NOQA
59-
from processing.script.ScriptAlgorithmProvider import ScriptAlgorithmProvider # NOQA
60-
from processing.preconfigured.PreconfiguredAlgorithmProvider import PreconfiguredAlgorithmProvider # NOQA
55+
#from processing.algs.qgis.QGISAlgorithmProvider import QGISAlgorithmProvider # NOQA
56+
#from processing.algs.grass7.Grass7AlgorithmProvider import Grass7AlgorithmProvider # NOQA
57+
#from processing.algs.gdal.GdalAlgorithmProvider import GdalAlgorithmProvider # NOQA
58+
#from processing.algs.saga.SagaAlgorithmProvider import SagaAlgorithmProvider # NOQA
59+
#from processing.script.ScriptAlgorithmProvider import ScriptAlgorithmProvider # NOQA
60+
#from processing.preconfigured.PreconfiguredAlgorithmProvider import PreconfiguredAlgorithmProvider # NOQA
6161

6262

6363
class Processing(object):

python/plugins/processing/tests/AlgorithmsTestBase.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ def test_algorithms(self):
8383
with open(os.path.join(processingTestDataPath(), self.test_definition_file()), 'r') as stream:
8484
algorithm_tests = yaml.load(stream)
8585

86-
for algtest in algorithm_tests['tests']:
87-
yield self.check_algorithm, algtest['name'], algtest
86+
if 'tests' in algorithm_tests and algorithm_tests['tests'] is not None:
87+
for algtest in algorithm_tests['tests']:
88+
yield self.check_algorithm, algtest['name'], algtest
8889

8990
def check_algorithm(self, name, defs):
9091
"""

0 commit comments

Comments
 (0)