mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Improving test platform independence
This commit is contained in:
parent
83445af23e
commit
2c553260e5
@ -155,7 +155,7 @@ def delimitedTextData( testname, filename, requests, verbose, **params ):
|
||||
basename = os.path.basename(filepath)
|
||||
if not basename.startswith('test'):
|
||||
basename='file'
|
||||
uri = uri.replace(filepath,basename)
|
||||
uri = re.sub(r'^file\:\/\/[^\?]*','file://'+basename,uri)
|
||||
fields = []
|
||||
data = {}
|
||||
if layer.isValid():
|
||||
|
Loading…
x
Reference in New Issue
Block a user