Skip to content
Permalink
Browse files

Add svgSymbolsPath to Python unit test utilities (for defining paths …

…without app instance)
  • Loading branch information
dakcarto committed Feb 22, 2014
1 parent 86a1c17 commit ef7a036c96109620dff26478ebcc00ae7491d985
Showing with 5 additions and 0 deletions.
  1. +5 −0 tests/src/python/utilities.py
@@ -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.

0 comments on commit ef7a036

Please sign in to comment.
You can’t perform that action at this time.