From 7e98aff1b7c8fbd4376222e117059a747dc6377b Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 30 Oct 2009 14:47:32 +0000 Subject: [PATCH] Tests: fix __FILE__ -> __file__ * tests/integration/saml2/__init__.py: path to the current python file is __file__ not __FILE__. --- tests/integration/saml2/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', '')