diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-10-30 14:47:32 +0000 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-10-30 14:47:32 +0000 |
commit | 7e98aff1b7c8fbd4376222e117059a747dc6377b (patch) | |
tree | 87d15269ffca68959c6c7e1c90a4684d0ada672f /tests | |
parent | 2b24cd50e24aeda31086ed59c0db254f084e697b (diff) | |
download | lasso-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__.py | 2 |
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', '') |