Skip to content
Permalink
Browse files

Fix tests

  • Loading branch information
m-kuhn committed May 6, 2020
1 parent 0aa1eb0 commit dd0d71a6b7e68748a57c77ff5a1664650896af1f
Showing with 3 additions and 3 deletions.
  1. +2 −2 python/plugins/processing/__init__.py
  2. +1 −1 tests/src/python/test_qgsserver.py
@@ -22,14 +22,14 @@
__copyright__ = '(C) 2012, Victor Olaya'

from processing.tools.dataobjects import * # NOQA
from processing.tools.dataobjects import createContext
from processing.tools.general import * # NOQA
from processing.tools.general import (
algorithmHelp,
run,
runAndLoadResults,
createAlgorithmDialog,
execAlgorithmDialog,
createContext
execAlgorithmDialog
)
from processing.tools.vector import * # NOQA
from processing.tools.raster import * # NOQA
@@ -139,7 +139,7 @@ def setUp(self):

def strip_version_xmlns(self, text):
"""Order of attributes is random, strip version and xmlns"""
return text.replace(br'version="1.3.0"', r'').replace(br'xmlns="http://www.opengis.net/ogc"', b'')
return text.replace(b'version="1.3.0"', b'').replace(b'xmlns="http://www.opengis.net/ogc"', b'')

def assert_headers(self, header, body):
stream = StringIO()

0 comments on commit dd0d71a

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