diff --git a/shortcuts.py b/shortcuts.py index eea3ec21fe3db45f6d985f6c25f8bbd2647d30c3..87881a04fa795703c4d1e68a9d8ecc8e07d251b3 100644 --- a/shortcuts.py +++ b/shortcuts.py @@ -44,7 +44,7 @@ def lc_ldap(*args, **kwargs): def lc_ldap_test(*args, **kwargs): """Renvoie une connexion LDAP à la base de tests.""" - module_qui_a_le_meme_nom_que_sa_classe_principale.cimetiere.cimetiere_root='/tmp/cimetiere_lc/' + module_qui_a_le_meme_nom_que_sa_classe_principale.cimetiere.cimetiere_root='/tmp/cimetiere_lc_%s/' % (os.getenv("USER") or os.getenv("LOGNAME")) try: os.mkdir(module_qui_a_le_meme_nom_que_sa_classe_principale.cimetiere.cimetiere_root) except OSError: