Skip to content

Commit

Permalink
Add svgSymbolsPath to Python unit test utilities (for defining paths …
Browse files Browse the repository at this point in the history
…without app instance)
  • Loading branch information
dakcarto committed Feb 22, 2014
1 parent 86a1c17 commit ef7a036
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/src/python/utilities.py
Expand Up @@ -150,6 +150,11 @@ def unitTestDataPath(theSubdir=None):
return myPath


def svgSymbolsPath():
return os.path.abspath(
os.path.join(unitTestDataPath(), '..', '..', 'images', 'svg'))


def setCanvasCrs(theEpsgId, theOtfpFlag=False):
"""Helper to set the crs for the CANVAS before a test is run.
Expand Down

0 comments on commit ef7a036

Please sign in to comment.