Tests integration: force C locale

* tests/integration/saml2/__init__.py:
   authentic now use 'system locale' by default, so force C locale to
   get english IHM string to make twill happy.
This commit is contained in:
Benjamin Dauvergne 2010-02-17 10:15:35 +00:00
parent 53f2a89851
commit d222d52563
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ LASSO_BUILDDIR = os.environ.get('LASSO_BUILDDIR') or \
CONFIG.get('LASSO_BUILDDIR') or \
os.path.realpath(os.path.join(os.path.dirname(__file__), "..", "..", ".."))
os.environ['LANG'] = 'C'
os.environ['LD_LIBRARY_PATH'] = os.path.join(LASSO_BUILDDIR, "lasso", ".libs") + ":" + \
os.environ.get('LD_LIBRARY_PATH', '')
os.environ['PYTHONPATH'] = os.path.join(LASSO_BUILDDIR, "bindings", "python") + \