Skip to content
Permalink
Browse files

[tests] Add missing import when no auth is required

  • Loading branch information
elpaso committed Nov 9, 2017
1 parent f29c9c9 commit f99d9aed7db34b8dfa2aa07b12e6718f5cd6897a
Showing with 1 addition and 2 deletions.
  1. +1 −2 tests/src/python/qgis_wrapped_server.py
@@ -61,7 +61,7 @@
import threading

from qgis.core import QgsApplication, QgsCoordinateTransform, QgsCoordinateReferenceSystem
from qgis.server import QgsServer, QgsServerRequest, QgsBufferServerRequest, QgsBufferServerResponse
from qgis.server import QgsServer, QgsServerRequest, QgsBufferServerRequest, QgsBufferServerResponse, QgsServerFilter

QGIS_SERVER_PORT = int(os.environ.get('QGIS_SERVER_PORT', '8081'))
QGIS_SERVER_HOST = os.environ.get('QGIS_SERVER_HOST', '127.0.0.1')
@@ -86,7 +86,6 @@


if os.environ.get('QGIS_SERVER_HTTP_BASIC_AUTH') is not None:
from qgis.server import QgsServerFilter
import base64

class HTTPBasicFilter(QgsServerFilter):

0 comments on commit f99d9ae

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