summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-10-30 14:47:32 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-10-30 14:47:32 +0000
commit7e98aff1b7c8fbd4376222e117059a747dc6377b (patch)
tree87d15269ffca68959c6c7e1c90a4684d0ada672f /tests
parent2b24cd50e24aeda31086ed59c0db254f084e697b (diff)
downloadlasso-7e98aff1b7c8fbd4376222e117059a747dc6377b.tar.gz
lasso-7e98aff1b7c8fbd4376222e117059a747dc6377b.tar.xz
lasso-7e98aff1b7c8fbd4376222e117059a747dc6377b.zip
Tests: fix __FILE__ -> __file__
* tests/integration/saml2/__init__.py: path to the current python file is __file__ not __FILE__.
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/saml2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/saml2/__init__.py b/tests/integration/saml2/__init__.py
index 50fcba0e..996faf3d 100644
--- a/tests/integration/saml2/__init__.py
+++ b/tests/integration/saml2/__init__.py
@@ -30,7 +30,7 @@ LCSCTL = CONFIG.get('LCSCTL') or '/usr/sbin/lcsctl.py'
LCS_DATADIR = CONFIG.get('LCS_DATADIR') or '/usr/share/lcs/'
LASSO_BUILDDIR = os.environ.get('LASSO_BUILDDIR') or \
CONFIG.get('LASSO_BUILDDIR') or \
- os.path.realpath(os.path.join(os.path.dirname(__FILE__), "..", "..", ".."))
+ os.path.realpath(os.path.join(os.path.dirname(__file__), "..", "..", ".."))
os.environ['LD_LIBRARY_PATH'] = os.path.join(LASSO_BUILDDIR, "lasso", ".libs") + ":" + \
os.environ.get('LD_LIBRARY_PATH', '')