Skip to content

Instantly share code, notes, and snippets.

@pigreco
Created April 2, 2016 21:55
Show Gist options
  • Save pigreco/b74848b668e00958790cae9e8760ff17 to your computer and use it in GitHub Desktop.
Save pigreco/b74848b668e00958790cae9e8760ff17 to your computer and use it in GitHub Desktop.
test = '''
- algorithm: qgis:polygonstolines
name: Test (qgis:polygonstolines)
params:
INPUT:
name: polys.gml
type: vector
results:
OUTPUT:
name: expected/polys2lines.gml
type: vector
'''
with open(os.path.join(repo_dir, definition_file), 'a') as f:
f.write('\n\n' + test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment