Skip to content

Commit

Permalink
Fix generation of processing tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 30, 2017
1 parent 8dde180 commit bb5a499
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion python/plugins/processing/gui/TestTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
__revision__ = '$Format:%H$'

import os
import posixpath
import re
import yaml
import hashlib
Expand Down Expand Up @@ -81,7 +82,8 @@ def extractSchemaPath(filepath):
if part == 'testdata' and not localpath:
localparts = parts
localparts.reverse()
localpath = os.path.join(*localparts)
# we always want posix style paths here
localpath = posixpath.join(*localparts)

parts.append(part)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3237,5 +3237,5 @@ tests:
type: raster
results:
OUTPUT:
name: expected\raster_extent.gml
name: expected/raster_extent.gml
type: vector

0 comments on commit bb5a499

Please sign in to comment.