El viernes, 23 de mayo de 2014 13:46:49 UTC+2, Cédric Krier escribió: > > On 23 May 04:34, Jesús Martín Jiménez wrote: > > Hi, > > > > I'm trying to run a test in a module I'm developing, and I've got this > > traceback [1]. Have anything changed since 3.0 version that I missed? > > > > Thank you. > > > > [1] > > Traceback (most recent call last): > > File "test_account.py", line 8, in <module> > > import trytond.tests.test_tryton > > File > > "/home/jmartin/workspace/trytond/trytond/trytond/tests/test_tryton.py", > > line 25, in <module> > > DB_NAME = os.environ['DB_NAME'] > > os.environ ! >
Ok. Now I've got this result. Definitively I'm doing something wrong, but I don't know what -_-' ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK > > File "/home/jmartin/workspace/trytond/lib/python2.7/UserDict.py", line > > 23, in __getitem__ > > raise KeyError(key) > > KeyError: 'DB_NAME' > > > > -- > Cédric Krier - B2CK SPRL > Email/Jabber: [email protected] <javascript:> > Tel: +32 472 54 46 59 > Website: http://www.b2ck.com/ >
