Files
deb-python-pysaml2/tests/pathutils.py
2013-05-06 14:11:42 +02:00

15 lines
269 B
Python

import os.path
BASEDIR = os.path.abspath(os.path.dirname(__file__))
def full_path(local_file):
return os.path.join(BASEDIR, local_file)
def dotname(module):
if not BASEDIR.endswith('tests'):
return 'tests.' + module
else:
return module