Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 6, 2020
1 parent 0aa1eb0 commit dd0d71a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/__init__.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsserver.py
Expand Up @@ -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()
Expand Down

0 comments on commit dd0d71a

Please sign in to comment.