def setUpClass(cls):
        start_app()
        from processing_gsoc_grass.core.Processing import Processing
        Processing.initialize()
        cls.cleanup_paths = []

        assert Grass7Utils.installedVersion()
 def setUpClass(cls):
     start_app()
     QgsApplication.processingRegistry().addProvider(QgsNativeAlgorithms())
     from processing_gsoc_grass.core.Processing import Processing
     Processing.initialize()
     cls.cleanup_paths = []
     cls.in_place_layers = {}
     cls.vector_layer_params = {}
Example #3
0
    def setUpClass(cls):
        start_app()
        from processing_gsoc_grass.core.Processing import Processing
        Processing.initialize()
        cls.cleanup_paths = []

        cls.temp_dir = tempfile.mkdtemp()
        cls.cleanup_paths.append(cls.temp_dir)

        assert Grass7Utils.installedVersion()
Example #4
0
 def __init__(self, iface):
     self.iface = iface
     self.options_factory = ProcessingOptionsFactory()
     self.options_factory.setTitle(self.tr('Processing'))
     iface.registerOptionsWidgetFactory(self.options_factory)
     self.drop_handler = ProcessingDropHandler()
     iface.registerCustomDropHandler(self.drop_handler)
     self.item_provider = ProcessingDataItemProvider()
     QgsApplication.dataItemProviderRegistry().addProvider(self.item_provider)
     self.locator_filter = AlgorithmLocatorFilter()
     iface.registerLocatorFilter(self.locator_filter)
     Processing.initialize()
Example #5
0
 def setUpClass(cls):
     start_app()
     from processing_gsoc_grass.core.Processing import Processing
     Processing.initialize()
     cls.cleanup_paths = []
Example #6
0
 def setUpClass(cls):
     # start_app()
     from processing_gsoc_grass.core.Processing import Processing
     Processing.initialize()