Skip to content
Permalink
Browse files

Add missing imports

  • Loading branch information
m-kuhn committed May 5, 2020
1 parent a7e0831 commit 9eae0caa090763c365b7d6710a1931ab2b81276d
@@ -34,6 +34,7 @@
)
from qgis.core import (
Qgis,
QgsCoordinateReferenceSystem,
QgsCredentials,
QgsVectorLayer,
QgsDataSourceUri,
@@ -29,6 +29,7 @@

from qgis.core import (NULL,
QgsApplication,
QgsCsException,
QgsField,
QgsFeatureSink,
QgsRaster,
@@ -33,7 +33,7 @@
from qgis.PyQt.QtWidgets import QMessageBox, QVBoxLayout, QLabel, QLineEdit, QWidget
from qgis.PyQt.QtGui import QPalette, QColor

from qgis.core import QgsApplication
from qgis.core import QgsApplication, Qgis
from qgis.gui import QgsMessageBar


@@ -54,7 +54,7 @@ def tr(self, string):

def createInstance(self):
"""Wrong!"""
return ExampleProcessingAlgorithm()
return ExampleProcessingAlgorithm() # noqa

def name(self):
return 'mycrashingscript'
@@ -17,7 +17,8 @@
QgsVectorLayer,
QgsFeature,
QgsGeometry,
QgsPoint
QgsPoint,
QgsPointXY
)
from qgis.testing import start_app, unittest

@@ -35,7 +35,7 @@
import subprocess

from test_qgsserver import QgsServerTestBase
from qgis.core import QgsProject, QgsRenderChecker, QgsMultiRenderChecker
from qgis.core import QgsProject, QgsRenderChecker, QgsMultiRenderChecker, Qt
from qgis.server import QgsServerRequest
from utilities import getExecutablePath, unitTestDataPath

0 comments on commit 9eae0ca

Please sign in to comment.
You can’t perform that action at this time.