Skip to content
Permalink
Browse files
Fix generation of processing tests on Windows
  • 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.
@@ -27,6 +27,7 @@
__revision__ = '$Format:%H$'

import os
import posixpath
import re
import yaml
import hashlib
@@ -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)

@@ -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.