Update of /cvsroot/modeling/ProjectModeling/Modeling/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6412/Modeling/tests
Modified Files:
test_AdaptorLayer.py
Log Message:
Env. variable MDL_PERMANENT_DB_CONNECTION is now deprecated and has no
effect anymore. It has been replaced by MDL_TRANSIENT_DB_CONNECTION which
has the inverse semantics --see the User's Guide, appendix Environment
Variables, for details.
Index: test_AdaptorLayer.py
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_AdaptorLayer.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** test_AdaptorLayer.py 30 Jul 2003 17:17:36 -0000 1.3
--- test_AdaptorLayer.py 28 Jan 2004 14:54:09 -0000 1.4
***************
*** 60,65 ****
import os
! if os.environ.get('MDL_PERMANENT_DB_CONNECTION'):
! del os.environ['MDL_PERMANENT_DB_CONNECTION']
class Tests_AdaptorLayer_Global(unittest.TestCase):
--- 60,65 ----
import os
! if not os.environ.get('MDL_TRANSIENT_DB_CONNECTION'):
! os.environ['MDL_TRANSIENT_DB_CONNECTION']='True'
class Tests_AdaptorLayer_Global(unittest.TestCase):
|